unifi_list_sites
List all UniFi sites the API key can access and return their IDs, names, and internal references to provide the siteId needed by every other tool.
Instructions
List all sites the API key has access to. Returns: id (the siteId every other tool requires), internalReference, name. Use for: first call in any workflow — almost every other tool needs a siteId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records to return (default: 25, max: 200) | |
| filter | No | Filter expression (e.g., 'name.like(office*)') | |
| offset | No | Number of records to skip (default: 0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | No | ||
| limit | No | ||
| offset | No | ||
| totalCount | No |