UniFi raw request
unifi_raw_requestExecutes any HTTP method against api.ui.com when no dedicated tool exists. Handles auth, retries, error parsing, and pagination automatically, with dry-run previews before applying changes.
Instructions
Generic escape hatch: executes ANY HTTP method against api.ui.com{path}. Use when no dedicated tool exists. Auth, retry, error parsing and pagination hints are handled automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH | |
| path | Yes | Relative path beginning with "/v1/…" against the configured API base (api.ui.com). Example: "/v1/hosts". | |
| query | No | Query parameters as flat string map | |
| method | Yes | HTTP method | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |