pve_delete_snapshot
Delete a VM or LXC container snapshot; the required confirmation phrase blocks accidental deletion and protects historical state.
Instructions
Delete a snapshot from a VM or LXC container.
SAFETY REQUIREMENT: Deleting a snapshot merges or purges historical states. If confirmation_phrase is not provided, this tool will safely block and ask you to confirm with confirmation_phrase='CONFIRM_DELETE_SNAPSHOT_'.
Args: vmid: Target VM or Container ID. snapname: Snapshot identifier to delete. confirmation_phrase: Explicit confirmation phrase (e.g. 'CONFIRM_DELETE_SNAPSHOT_pre-upgrade'). node: Optional node name.
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>",
"snapname": "<snapname>"
},
"name": "pve_delete_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| snapname | Yes | ||
| confirmation_phrase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |