delete_old_snapshots
Delete pvewarden snapshots older than a specified number of days (default 7), leaving newer snapshots untouched. Omit vmid to clean all guests tagged pvewarden-update.
Instructions
Delete pvewarden snapshots older than N days (default 7); other snapshots are never touched. Without vmid, cleans all guests tagged 'pvewarden-update'. Returns the deleted snapshots; an empty list means none were old enough. To delete one specific snapshot, use delete_snapshot. pvewarden asks the user to confirm in the client; if they decline, nothing changes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_old_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | No | Proxmox VMID of one guest; omit for every guest that allows updates. | |
| older_than_days | No | Delete snapshots older than this many days; 0 = all pvewarden snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |