Gracefully reboot a device
mesh_graceful_rebootSchedule a graceful OS reboot with a delay so logged-in users get a warning and apps can close; abort during the delay if needed.
Instructions
Schedule an OS-level graceful reboot (Windows: shutdown /r, Linux/macOS: shutdown -r) with a delay so logged-in users get a warning and apps can close. Needs MESH_MCP_ALLOW_POWER=1. Use mesh_cancel_reboot to abort during the delay.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>"
},
"name": "mesh_graceful_reboot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| message | No | Reboot requested via MeshCentral | |
| delay_seconds | No |