Update WiFi Network (SSID)
unifi_update_wifiReplace an existing WiFi SSID's full configuration by fetching current JSON, modifying it, and submitting the complete config; restore real passphrase and expect client disconnects.
Instructions
Replace the configuration of an existing WiFi SSID (full PUT). Fetch the current object with unifi_get_wifi (responseFormat='json'), modify it, and pass the whole object as 'config'. NOTE: reads show the passphrase as '[redacted]', and a config still containing that placeholder is refused before anything is sent (it would otherwise become the literal new passphrase) — put the real passphrase back in securityConfiguration (ask the user for it). CAUTION: reconfiguring an SSID disconnects its connected clients — confirm with the user. IDs come from unifi_list_wifi.
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": {
"wifiId": "<wifiId>",
"config": "<config>"
},
"name": "unifi_update_wifi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full WiFi broadcast object to write (fetch current via unifi_get_wifi, then modify). A config with any value still containing "[redacted]" (how reads show credentials) is refused: put the real value in, or leave the field out. | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| wifiId | Yes | WiFi broadcast ID (UUID from unifi_list_wifi) |