vm_list_snapshots
List all snapshots of a single VM with nesting hierarchy, including name, description, timestamp, state, and level. Verify snapshot presence and structure before changes.
Instructions
[READ] List all snapshots of one VM, including the nesting hierarchy.
Returns the list envelope, one row per snapshot with name, description, created
timestamp, state and level (0 = root; children are level+1). Empty items
with truncated False means the VM genuinely has no snapshots. Read-only —
creating, reverting and deleting snapshots live in vmware-aiops.
Use this for one known VM; prefer snapshot_aging to sweep the whole inventory for old or sprawling snapshots. Get the name from list_virtual_machines first — an unknown name returns a teaching error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter/ESXi target from config (default if omitted). | |
| vm_name | Yes | Exact name of the virtual machine. |