Start, shut down or reboot a guest
power_guestStarts, cleanly shuts down, or reboots a Proxmox VE VM or container, requiring a one-time confirmation code before any change is applied.
Instructions
Start, cleanly shut down, or reboot a VM or container. The first call changes nothing and returns a summary and a confirmation code; it happens only on a second call with the code, after the user has said yes.
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": {
"guest": "<guest>",
"action": "<action>"
},
"name": "power_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guest | Yes | a name or id, e.g. "mail-relay" | |
| action | Yes | shutdown and reboot go through the guest OS | |
| confirmation | No | leave empty first; pass the code only after the user confirms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | false: nothing has changed yet; true: Proxmox has done it | |
| guest | No | ||
| problem | No | why it can't be done; nothing was changed | |
| summary | Yes | ||
| confirmation | No | when done is false: the code to pass back, only after the user says yes | |
| expires_in_minutes | No |