vmware_host_network_config
Retrieve network configuration of an ESXi host, including vSwitches, portgroups, vmkernel interfaces, and physical NICs.
Instructions
Network configuration of a host (equivalent of esxcli network): vSwitches, portgroups, vmkernel interfaces, physical NICs.
Returns a structured object {host, vswitches:[...], portgroups:[...], vmkernel_nics:[...], physical_nics:[...]}.
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>"
},
"name": "vmware_host_network_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Name of the ESXi host |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |