pve_lifecycle
Start, stop, reboot, suspend, or resume a Proxmox VM or container by ID, automatically discovering the node if omitted.
Instructions
Perform a lifecycle state transition on a VM or container.
Args: vmid: Target VM or Container ID. action: One of: 'start', 'stop', 'shutdown', 'reboot', 'reset', 'suspend', 'resume'. node: Optional node name. Automatically discovers node if omitted.
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": {
"vmid": "<vmid>",
"action": "<action>"
},
"name": "pve_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |