get_interfaces
List switch ports with admin/oper status, speed, duplex, MTU, MAC, and error counters, and filter by name, status, or errors to keep ICX 7450 output small.
Instructions
List switch ports and their state: admin/oper status, speed, duplex, description, MTU, MAC and error counters (in/out errors, discards, FCS).
Use filters to keep output small on the 48-port ICX 7450.
Args: name_filter: Substring or glob matched against port name OR description, e.g. "1/1/5", "1/2/", "ethernet1/1/1", "uplink". Case-insensitive. status: "up" = only operationally up ports, "down" = only non-up ports. only_with_errors: Only ports with non-zero error/discard counters (RESTCONF only; SSH fallback lacks counters). include_counters: Add full traffic counters (octets, unicast/broadcast/ multicast packets, carrier transitions).
Returns {source, total_interfaces, returned, interfaces:[...]}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_interfaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | any | |
| name_filter | No | ||
| include_counters | No | ||
| only_with_errors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||