vsphere_list_vms
List VMs in a vCenter inventory and filter by power state, datacenter, or cluster to locate the virtual machines needed for operations or troubleshooting.
Instructions
List all VMs in the vCenter inventory. Filter by power_state (all/poweredOn/poweredOff/suspended), datacenter, or cluster.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vsphere_list_vms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | ||
| datacenter | No | ||
| gateway_id | No | ||
| power_state | No | all |