unifi_switching
Inspect UniFi switch LAGs, MC-LAG domains, and stacks via paginated, filterable read-only queries.
Instructions
Switching read-only views (LAGs, MC-LAG domains, switch stacks). Operations:
list_lags (Read): List LAGs
get_lag (Read): Get LAG Details
list_mc_lag_domains (Read): List MC-LAG Domains
get_mc_lag_domain (Read): Get MC-LAG Domain
list_switch_stacks (Read): List Switch Stacks
get_switch_stack (Read): Get Switch Stack List results are pages: { offset, limit (max 200), count, totalCount, data[] }. Filtering: pass filter as property.function(args); combine with and(...), or(...), not(...). Functions: eq, ne, gt, ge, lt, le, like, in, notIn, isNull, isNotNull; SET: contains, containsAny, containsAll, containsExactly, isEmpty. Strings use single quotes ('guest'); like patterns: '.'=one char, '*'=any run, ''=escape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lagId | No | lagId (uuid). Used by: get_lag. | |
| limit | No | Page size (default 25, max 200). Used by: list_lags, list_mc_lag_domains, list_switch_stacks. | |
| filter | No | Filter expression (see tool description). Used by: list_lags, list_mc_lag_domains, list_switch_stacks. | |
| offset | No | Pagination offset (default 0). Used by: list_lags, list_mc_lag_domains, list_switch_stacks. | |
| siteId | No | siteId (uuid). Used by: list_lags, get_lag, list_mc_lag_domains, get_mc_lag_domain, list_switch_stacks, get_switch_stack. | |
| consoleId | No | Cloud mode only: the console to target. Discover IDs with unifi_consoles. Ignored in direct (single-console) mode. | |
| operation | Yes | Which operation to perform. | |
| mcLagDomainId | No | mcLagDomainId (uuid). Used by: get_mc_lag_domain. | |
| switchStackId | No | switchStackId (uuid). Used by: get_switch_stack. |