proxmox_destroy_resource
Permanently delete an LXC container or QEMU VM by vmid; confirmation and destructive-action gates help prevent accidental removal.
Instructions
Permanently delete an LXC container or QEMU VM by vmid (DELETE /nodes/{node}/{type}/{vmid}). Tier-3 destructive; requires confirm:true, destructive:true, and env PROXMOX_ENABLE_DESTRUCTIVE=1.
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>",
"confirm": "<confirm>",
"destructive": "<destructive>"
},
"name": "proxmox_destroy_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | Container or VM ID to destroy. | |
| wait | No | Block until the task finishes and include its exit status in the result. | |
| force | No | Allow destroying a running VM (default false). | |
| purge | No | Remove from PVE backup/replication config too (default true). | |
| confirm | Yes | Must be true. Tier-3 destructive gate. | |
| destructive | Yes | Must be true. Tier-3 destructive gate. | |
| wait_timeout | No | Max seconds to wait when wait:true (default 120). |