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.
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 |