Execute client action
unifi_net_client_actionAuthorize or unauthorize guest network access for a connected UniFi client, with dry-run and confirmation previews before applying changes.
Instructions
Action on a connected client. Vendor values: AUTHORIZE_GUEST_ACCESS, UNAUTHORIZE_GUEST_ACCESS (lowercase and dashes are mapped). The Network API has no block/unblock action.
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": "unifi_net_client_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | e.g. "AUTHORIZE_GUEST_ACCESS", "UNAUTHORIZE_GUEST_ACCESS" | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. | |
| clientId | Yes |