list_hosts
List ESXi hosts from vCenter using optional filters for name, cluster, or datacenter.
Instructions
List ESXi hosts with optional filters via the vSphere Web Services 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": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcenter_name | No | ||
| hosts | No | ||
| names | No | ||
| clusters | No | ||
| datacenters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |