Power action (agent-level)
mesh_powerWake, sleep, reset, or power off MeshCentral-managed devices, including waking offline machines through a LAN peer; use graceful reboot for reset/off. Requires MESH_MCP_ALLOW_POWER=1.
Instructions
Wake, sleep, hard reset or power off through MeshCentral's own power function (wake works on offline devices via a peer on the same LAN; reset/off are NOT graceful). Prefer mesh_graceful_reboot. Needs MESH_MCP_ALLOW_POWER=1.
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>",
"action": "<action>"
},
"name": "mesh_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| device | Yes |