unifi_list_sites
List all UniFi sites to retrieve their siteIds, names, and internal references. Use this as the first call to obtain the siteId that most other UniFi tools require.
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 |