rollback_snapshot
Roll back a virtual machine or container to a specified snapshot, discarding all changes since that snapshot. Use without confirm for a preview; re-call with the guest's exact name to execute.
Instructions
Roll a guest BACK to snapshot name — discards ALL changes since it. IRREVERSIBLE.
Two-step by design: call without confirm to get a preview (nothing
changes); then re-call with confirm set to the guest's exact name to
actually roll back. Needs node, vmid, type.
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>",
"type": "<type>",
"name": "<name>"
},
"name": "rollback_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node | Yes | ||
| type | Yes | ||
| vmid | Yes | ||
| confirm | No |