list_sites
List all UniFi sites on your controller to obtain site IDs needed for device management, WiFi optimization, and network tasks. Essential first step for multi-site setups.
Instructions
List all UniFi sites on this controller. Most controllers have a single 'default' site, but multi-site setups exist. The site ID is required for nearly all other tools — call this first if you need it. If UNIFI_SITE_ID is set, that site is used automatically.
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 |
|---|---|---|---|
No arguments | |||