wifi_set
Reads and updates TP-Link router Wi-Fi settings—including bands, SSID, password, channel, guest networks, and Smart Connect—using dry runs and confirm tokens for safe changes.
Instructions
Wi-Fi: action=get (band=2g|5g|6g|guest|guest_access|all) | set (band, settings={ssid|name, password, hidden, enable, channel, txpower, htmode, encryption, ...}; guest also takes guest_band=2g|5g|2g5g|6g|all; guest_access takes {access, isolate}) | smart_connect (enable). Turning a radio off is CRITICAL. This server's machine is wired, so it is not cut off.
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": "wifi_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| action | No | get | |
| enable | No | ||
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| settings | No | ||
| guest_band | No | ||
| 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). |