vsphere_list_vms
Query vCenter for virtual machines filtered by names, folders, datacenters, hosts, clusters, resource pools, or power states.
Instructions
List visible virtual machines using the vSphere Automation REST API.
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 |
|---|---|---|---|
| vms | No | ||
| hosts | No | ||
| names | No | ||
| folders | No | ||
| clusters | No | ||
| datacenters | No | ||
| power_states | No | ||
| resource_pools | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||