list_virtual_machines
List VMware virtual machines with filtering by power state or folder, sorting, and selectable fields to quickly resolve a VM name for further investigation.
Instructions
[READ] List virtual machines, with filtering, sorting, and field selection.
Returns the family list envelope {items, returned, limit, total, truncated,
hint}; total is the real post-filter count, so read truncated before
summarising. Over 50 VMs with no limit/fields, only the first five fields
below come back (mode says which). vms is a deprecated pre-1.8.0
alias of items, removed in 2.0 — read items.
Use this to resolve an exact VM name, then vm_info for detail or vm_investigation_bundle to drill into one; for a fleet-wide view start at cluster_health_summary instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max VMs (None = all). | |
| fields | No | Any of name, power_state, cpu, memory_mb, folder_path, guest_os, ip_address, host, uuid, tools_status (None = auto). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| sort_by | No | name | cpu | memory_mb | power_state | folder_path. | name |
| power_state | No | poweredOn | poweredOff | suspended. | |
| folder_filter | No | Case-insensitive folder_path substring; nested folders match. |