list_vms
Lists virtual machines on a standalone ESXi host or groups them by host within a vCenter datacenter.
Instructions
List VMs on a target.
Standalone ESXi: lists all VMs on the host.
vCenter: groups VMs by host within the specified datacenter (defaults to the target's configured datacenter).
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": "list_vms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| datacenter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |