get_etherchannels
Get link-aggregation state from Cisco switches. Executes the appropriate summary command for IOS/IOS-XE or NX-OS.
Instructions
Show link-aggregation state.
IOS/IOS-XE: 'show etherchannel summary'. NX-OS: 'show port-channel summary'.
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": {
"device": "<device>"
},
"name": "get_etherchannels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |