access_control
Manage which devices may use a TP-Link router network: view status and candidates, allow or block devices by MAC, and switch black/white access modes with dry-run safety.
Instructions
Access control (who may use the network). action=status | candidates | enable | disable | set_mode (mode=black|white) | block / unblock (mac[, name]) | allow / disallow (mac). Black mode blocks listed devices; white mode blocks everything NOT listed. Switching to white mode, enabling it, or blocking THIS machine is CRITICAL.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "access_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | ||
| mode | No | ||
| name | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| action | No | status | |
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| confirm_token | No | Required with apply=true for CRITICAL changes: the token from the dry run (valid 5 minutes, bound to the exact plan and current router state). |