vm_investigation_bundle
Investigate any VM's health in one correlated drill-down. Get state, host, cluster, datastores, snapshots, alarms, live performance, and merged events to quickly diagnose issues.
Instructions
[READ] "What is happening around this VM?" — one correlated drill-down.
Use this instead of stitching vm_info + vm_list_snapshots + get_alarms + vm_performance + get_events yourself. Returns one correlated bundle (not the list envelope): the VM's state, its host, cluster and backing datastores, its snapshots and triggered alarms, live performance, and a merged event timeline across VM/host/cluster/datastore (newest first). All reads are batched. Explain it in operational language; do not dump it raw.
Reach for it after cluster_health_summary names a problem VM, or when asked "what's going on with ?". Point-in-time snapshot — no trending. Acting on what you find (power, migrate, delete snapshot) belongs to vmware-aiops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Event-timeline look-back window in hours (default 24). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| vm_name | Yes | Exact VM name; unknown names return a teaching error. Get it from list_virtual_machines or cluster_health_summary first. |