unifi_authorize_guest
Authorize a guest client on a UniFi network and optionally set time, data, and rate limits. Protected networks require confirmation; without it, preview the change first.
Instructions
Authorize a guest client (official AUTHORIZE_GUEST_ACCESS). Replaces any active authorization and resets its counters. Limits are optional; without minutes the site's default applies. A client on a protected network (pi-cluster by default) needs confirm: true; without it the tool previews. An ambiguous name returns the candidates and changes nothing.
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": {
"client": "<client>"
},
"name": "unifi_authorize_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| client | Yes | Client name, IP, MAC or id | |
| rxKbps | No | Download rate limit in kbit/s | |
| txKbps | No | Upload rate limit in kbit/s | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| minutes | No | How long the guest stays authorized | |
| dataLimitMb | No | Data usage limit in megabytes |