list_datacenters
Retrieve datacenters in a vCenter Server to get datacenter IDs needed for VM folders, hosts/clusters, and desktop pool or RDSH farm provisioning.
Instructions
List datacenters in a vCenter Server.
The datacenter ID is required by list_vm_folders, list_hosts_or_clusters, and create_desktop_pool / create_rdsh_farm provisioning_settings.
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": {
"vcenter_id": "<vcenter_id>"
},
"name": "list_datacenters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcenter_id | Yes | vCenter ID — obtain from list_virtual_centers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |