shutdown_container
Gracefully shut down an LXC container on a Proxmox node. Specify the node and container ID; optionally set a timeout in seconds for forced shutdown if graceful fails.
Instructions
Gracefully shutdown an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
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": {
"node": "<node>",
"vmid": "<vmid>"
},
"name": "shutdown_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name where the container resides. | |
| vmid | Yes | LXC container numeric ID. | |
| timeout | No | Seconds to wait for graceful shutdown before force-stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |