snapshot_aging
Scan all VMs for snapshots and flag old or sprawling ones, using a configurable age threshold to identify snapshots past 30 days.
Instructions
[READ] Sweep ALL VMs for snapshots and flag old / sprawling ones.
Use this for fleet-wide snapshot sprawl; prefer vm_list_snapshots when you only care about one VM. Returns {total_snapshots, old_snapshots, vms_with_snapshots, threshold_days, snapshots[], hint} — a rollup, not the list envelope. Each row has age_days, is_old and an est_size_mb lower bound (snapshotData+snapshotMemory; delta-disk growth is not separable per-snapshot via the API). Read-only — deleting snapshots belongs to vmware-aiops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max snapshot rows to return (None = all). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| only_old | No | When True, return only snapshots past the threshold. | |
| age_threshold_days | No | Age above which a snapshot is flagged old (default 30). |