client_action
Grant or revoke hotspot guest access for a specific client on the UniFi network.
Instructions
Execute hotspot guest access actions on a connected client. AUTHORIZE_GUEST_ACCESS grants guest WiFi access, UNAUTHORIZE_GUEST_ACCESS revokes it.
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": {
"clientId": "<clientId>",
"action": "<action>"
},
"name": "client_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | Client ID (UUID from list_clients) | |
| action | Yes | Client action. AUTHORIZE_GUEST_ACCESS grants hotspot access, UNAUTHORIZE_GUEST_ACCESS revokes it. |