unifi_block_client
Blocks a specified client from the UniFi network until unblocked, previewing changes and requiring confirmation for protected networks.
Instructions
Block a client from the network (legacy cmd/stamgr block-sta) until it is unblocked. 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_block_client"
}
}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 | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it |