list_sites
Lists all accessible UniFi sites, with optional pagination and controller selection, so you can inspect managed network locations.
Instructions
List all accessible sites.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of sites to return | |
| offset | No | Number of sites to skip | |
| controller | No | Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |