list_devices
List all UniFi network devices on a site to retrieve MAC addresses, IPs, model, online state, and firmware for targeted device management.
Instructions
List all UniFi network devices (APs, switches, routers) on a site.
Read-only operation: returns a per-device summary for the targeted site, including name, MAC, model, type, IP, online state, uptime, and firmware version. Use this to discover the MAC values needed by get_device_details, restart_device, and the other device tools.
Distinction: use list_unifi_devices to see the server's configured consoles (controller roster); use get_global_inventory for an aggregated inventory across all consoles. This tool lists devices within one site on one console.
Args: site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
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_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional device name to target a specific console; omit for default. |