getVMWareHosts
Retrieve all VMware hosts managed by a specified vCenter device in OpManager. Provide the vCenter device name to get its hosts.
Instructions
getVMWareHosts
Category: Manage and query network devices
Key parameters:
name: Name of the vCenter device - Managed Entity name as seen in
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": {
"host": "<host>",
"apiKey": "<apiKey>"
},
"name": "getVMWareHosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| name | No | Name of the vCenter device - Managed Entity name as seen in the URL of device snapshot page OR 'deviceName' property value in the listDevices API response. | |
| apiKey | Yes | OpManager API key for authentication |