list_vm_service_network_interfaces
[READ] List the network interfaces (multi-NIC) of one VirtualMachine.
Instructions
[READ] List the network interfaces (multi-NIC) of one VirtualMachine.
Reads spec.network.interfaces[] off a single VM Service VirtualMachine (vmoperator.vmware.com) via the Supervisor K8s API; the served CRD version is discovered at runtime. Returns the family list envelope: items of {name, network_name, network_kind, network_api_version} plus returned/total/truncated and vm_name/served_version. A VM with no network block returns an empty list, not an error. Run list_namespaces for the namespace; the VM name comes from your own VM inventory in that namespace.
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": {
"namespace": "<namespace>",
"vm_name": "<vm_name>"
},
"name": "list_vm_service_network_interfaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter in config.yaml; omit for the default. | |
| vm_name | Yes | Name of the VirtualMachine to read interfaces from. | |
| namespace | Yes | vSphere Namespace the VM lives in (via list_namespaces). |