list_sites
Lists all UniFi sites with device and client counts plus ISP information, resolving site names internally.
Instructions
List all sites with device/client counts and ISP info.
The siteId in the response is the Site Manager Fabric ObjectId
(from the /v1/sites list) — it is NOT the same as the proxy-path UUID used by per-site tools.
You do not need either ID:
pass site names (e.g., "Default") to all tools and the server resolves the correct
ID internally.
By default every page is drained and the complete site list is returned. Pass page_token to fetch a single page manually (the response then carries a nextToken cursor to continue). A capped drain returns the sites gathered so far with incomplete=true rather than truncating silently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||