vm_revert_snapshot
Revert a virtual machine to a specific snapshot, discarding all changes made after the snapshot was taken.
Instructions
[WRITE] Revert a VM to a named snapshot (loses changes since snapshot).
Args: vm_name: VM to revert. snapshot_name: Snapshot to revert to. target: vCenter/ESXi target name from config.
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_name": "<vm_name>",
"snapshot_name": "<snapshot_name>"
},
"name": "vm_revert_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| vm_name | Yes | ||
| snapshot_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |