Lock, reboot, or shut down
system_powerPerform system power actions like lock, reboot, or shutdown, with reboot/shutdown gated by safety checks.
Instructions
Lock is always available. Reboot and shutdown require enableDangerous because they terminate the desktop session.
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": {
"action": "<action>"
},
"name": "system_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |