Read UniFi Internal API
unifi_internal_readReads UniFi Network internal API data missing from the documented API, covering clients, health, devices, rogue APs, port forwards, routes, profiles, and logs.
Instructions
Runs one named read on the Network application's internal, unofficial API, for what the documented API lacks. activeClients: Connected clients with IP, network, AP or switch port, signal, uptime, and traffic. knownClients: Every client the gateway remembers, with name, note, fixed IP, and first and last seen. health: Status of WAN, LAN, WLAN, and VPN: counts, WAN IP, ISP, latency, and throughput. devices: Devices with firmware and available upgrades, radio settings and stats, and port tables. rogueAps: Neighboring access points seen in the last 24 hours. portForwards: Port forwarding rules: what is reachable from the internet. routes: Static routes. portProfiles: Switch port profiles: which networks a port carries, PoE, isolation, and speed. systemLog: Recent system log events, admin (AUDIT) and client and device (CLIENT_DEVICES) alike: what happened to which client, device, network, or admin, and when. params: hours (1-168, default 24), limit (1-100, default 50). Returns only allowlisted fields; credentials are never included.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "unifi_internal_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | Yes | ||
| count | Yes | ||
| items | Yes |