vm_list_snapshots
List a VM's full snapshot tree, including nested child snapshots, to identify exact snapshot names before reverting, deleting, or creating a linked clone.
Instructions
[READ] List the full snapshot tree of a VM, including nested child snapshots.
Read-only, no side effects. Call this before vm_revert_snapshot, vm_delete_snapshot, or deploy_linked_clone to get exact snapshot names. 'items' is empty when the VM has no snapshots.
Returns: The list envelope. 'items' is one dict per snapshot: name, description, created, state (power state at snapshot time), level (0 = root). The whole tree is walked, so 'total' is the real count and 'truncated' is always false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter/ESXi target name from config.yaml; omit to use the default target. | |
| vm_name | Yes | Exact VM name as shown in vCenter inventory. |