pikvm_power
Control target machine power through ATX: check status, power on, soft/hard off, reset, or short/long power and reset button presses, with confirmation required for shutdown or restart actions.
Instructions
Power control of the target machine through ATX.
action: status, on, off (soft, like a short press), off_hard (cut power, long press), reset_hard, click_power, click_power_long, click_reset. Everything except status and on can shut the machine down or restart it. Those need confirm=true and confirm_phrase equal to the path shown in the reply.
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": "pikvm_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status | |
| server | No | ||
| confirm | No | ||
| confirm_phrase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |