set_wifi
Change a Wi-Fi network's name, password, enabled state, or hidden setting. Preview changes unless confirm=true; applying drops connected devices, which must reconnect with the new password if changed.
Instructions
Change a Wi-Fi network (index from wifi_networks): name, password, on/off, hidden. Devices on it drop and must reconnect, with the new password if it changed. Without confirm=true it only shows the plan.
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": {
"network_index": "<network_index>"
},
"name": "set_wifi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssid | No | ||
| hidden | No | ||
| confirm | No | ||
| enabled | No | ||
| password | No | ||
| network_index | Yes |