List UniFi Devices
unifi_list_devicesLists adopted UniFi gateways, switches, and access points on a site with name, model, MAC, IP, and state; filter by status to find offline devices.
Instructions
List UniFi devices (gateways, switches, access points) adopted on a site, with name, model, MAC, IP, and state (ONLINE, OFFLINE, UPDATING, CONNECTION_INTERRUPTED, ISOLATED, ...). Use unifi_get_device for full details of one device. Filter example: "state.eq('OFFLINE')" to find offline devices.
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_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1-200, default 50) | |
| filter | No | Optional UniFi filter expression: property.function(args) with functions eq, ne, like, in, isNull, isNotNull and more; combinators and(...), or(...), not(...). Strings in single quotes. Examples: "state.eq('OFFLINE')", "access.type.eq('GUEST')", "name.like('Office*')". Note: which properties are filterable varies by endpoint — a 400 error means that property/function is not supported here. | |
| offset | No | Number of results to skip, for pagination (default 0) | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| responseFormat | No | 'markdown' for a compact human-readable summary (default), 'json' for full raw API data | markdown |