list_sites
List all UniFi sites accessible to the current user, returning each site's ID and name. Use it to discover sites before querying health or settings.
Instructions
List all UniFi sites accessible to the current user.
Read-only operation: returns each site's id and name from the targeted console(s). Use get_site_health / get_site_settings for per-site detail once you have a site name.
Args: device: Optional console name to target a specific UniFi device; omit for the default device.
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 |
|---|---|---|---|
| device | No | Optional console name to target a specific UniFi device; omit for the default device. |