UniFi: Request
unifi_requestCall any UniFi Network Integration API endpoint with GET to access configurations not wrapped by dedicated tools, such as switch stacks, LAG, VPN servers, RADIUS profiles, WAN interfaces, and more.
Instructions
Escape hatch: call any Integration API endpoint directly, for the parts of the API this server does not wrap — switch stacks, LAG, VPN servers, RADIUS profiles, WAN interfaces, device tags, ACL rules, DNS policies and the DPI reference tables. Paths are relative to the API root, so /sites and /sites/<uuid>/wans, and the site must be a real UUID here — this tool does NOT resolve site names, so get one from unifi_list_sites first. Writes are DISABLED: only GET is permitted. Set UNIFI_ALLOW_WRITES=1 to allow mutations, which also registers the purpose-built write tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, for POST, PUT and PATCH. Sent verbatim. | |
| path | Yes | Path relative to the Integration API root, starting with `/` — e.g. `/info`, `/sites`, `/sites/<site-uuid>/wans`. Not a full URL. | |
| query | No | Query parameters, e.g. `{"limit": 50, "filter": "state.eq('OFFLINE')"}`. | |
| method | No | HTTP method. Only GET is available while writes are disabled. | GET |