Get switch stack
unifi_get_switch_stackGet full details of a specific UniFi Switch Stack, including all units, stacking topology, and LAGs, by site and stack ID.
Instructions
Get full details of a Switch Stack including all units and stacking topology. Returns the same fields as the list response but for a single stack: id, deviceId, name, units[] (named members before 10.6.106), lags[], metadata.origin.
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": {
"siteId": "<siteId>",
"switchStackId": "<switchStackId>"
},
"name": "unifi_get_switch_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| switchStackId | Yes | Switch Stack ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| lags | No | ||
| name | No | ||
| units | No | ||
| members | No | ||
| deviceId | No | ||
| metadata | No |