vm_create_snapshot
Create a VM snapshot before risky changes so you can revert if something goes wrong, then delete it later to reclaim space.
Instructions
[WRITE] Create a snapshot of a VM.
Returns a status string. Use this before a risky change so vm_revert_snapshot can undo it, then reclaim the space with vm_delete_snapshot — snapshots left for days grow delta disks and must not be treated as backups.
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_create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | No | Include memory state (heavier, allows resume). | |
| target | No | vCenter/ESXi target name from config. | |
| quiesce | No | Quiesce guest filesystem (requires running VMware Tools). | |
| vm_name | Yes | VM to snapshot. | |
| description | No | Optional description. | |
| snapshot_name | Yes | Snapshot name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |