getOswStackLagList
Retrieve the Link Aggregation Group (LAG) list for a specified switch stack, showing member ports, load balancing mode, and status. Provide the stack ID to get configured trunk groups for network management.
Instructions
Get Link Aggregation Group (LAG) list for a switch stack. Returns configured LAG/trunk groups including member ports, load balancing mode, and status. Use getSwitchStackDetail to get the stackId.
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": {
"stackId": "<stackId>"
},
"name": "getOswStackLagList"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID to target. If omitted, uses the default site from OMADA_SITE_ID config. Use listSites to discover available site IDs. | |
| stackId | Yes | Stack ID of the switch stack. Use getSwitchStackDetail to find the stackId. | |
| customHeaders | No | Optional HTTP headers to include in the Omada API request (e.g. {"X-Custom-Header": "value"}). Rarely needed. |