revert_snapshot
Restore a virtual machine to a previous snapshot, discarding all changes since that snapshot. Requires confirmation and a stopped VM.
Instructions
DESTRUCTIVE: Revert a virtual machine to a previous snapshot.
All changes since the snapshot was taken will be lost. The VM should be stopped before reverting.
Args: vm_id: The VM identifier snapshot_id: The snapshot identifier confirm: Must be true to execute. Returns a preview otherwise.
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": {
"vm_id": "<vm_id>",
"snapshot_id": "<snapshot_id>"
},
"name": "revert_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| confirm | No | ||
| snapshot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |