Read Any UniFi Network API Resource
unifi_readRuns documented UniFi Network API read operations to retrieve site, device, client, firewall, DNS, ACL, VPN, and statistics data without exposing Wi-Fi passphrases or voucher codes.
Instructions
Runs one documented Network API read (operation names follow the API, such as getDnsPolicyPage, getAclRule, getAdoptedDeviceLatestStatistics, getWans) and returns its documented fields. Pass path IDs and offset, limit (most lists allow at most 200), or filter in params; the site is supplied automatically. Wi-Fi passphrases and voucher codes are never returned.
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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| operationId | Yes |