unifi_list_sites
Retrieve all accessible sites with their IDs. Use this as the initial call to obtain site IDs required by every other UniFi 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 |