list_network_labels
Retrieve network labels (port groups) available on a host or cluster to find network_label_id values for desktop pool or RDSH farm NIC provisioning.
Instructions
List network labels (port groups / distributed port groups) available on a host or cluster.
Network label IDs are used in the nics array of create_desktop_pool and create_rdsh_farm provisioning_settings: "nics": [{"nic_id": "", "network_label_id": ""}]
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>",
"host_or_cluster_id": "<host_or_cluster_id>"
},
"name": "list_network_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcenter_id | Yes | vCenter ID — obtain from list_virtual_centers | |
| host_or_cluster_id | Yes | Host or cluster ID — obtain from list_hosts_or_clusters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |