List sites
unifi_list_sitesList UniFi controller sites with id, name, description, role and device count, and get the exact site name required by other tools.
Instructions
List the controller's sites with id, name, description, role and device_count. Pass a site's name (not its description) as the site argument of other tools.
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": "unifi_list_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Only return these fields per item (dot paths, e.g. uplink.name) | |
| search | No | Case-insensitive substring match on names, MACs, IPs and similar |