list_hosts
Retrieve a list of all ESXi hosts from a vSphere server by providing the vCenter hostname.
Instructions
List all ESXi hosts.
Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hostname": "<hostname>"
},
"name": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |