Shutdown
shutdownShuts down a connected Meshtastic node after a set delay, requiring confirmation before executing. Use it to power off a device remotely over serial or TCP.
Instructions
Shut down the connected node in seconds seconds.
Requires confirm=True, or the user's answer when the client can ask.
Returns {ok, shutting_down_in_s}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "shutdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device. | |
| confirm | No | `True` once the user agreed; omitted, a client that can ask prompts the human. | |
| seconds | No | Delay before the node shuts down. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| shutting_down_in_s | Yes |