power_action
Reboot or shut down a Raspberry Pi after explicit opt-in and confirmation to prevent accidental power actions.
Instructions
Reboot or shut down a Pi only after a separate power-control opt-in and confirmation.
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>",
"confirm": "<confirm>"
},
"name": "power_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| device | Yes | ||
| confirm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||