unifi_update_network
Modify fields of a UniFi network by sending only changes; the tool previews before → after and requires confirm: true to apply, protecting clients from typos.
Instructions
Change fields of a network. Give only what changes: nested objects merge into the current ones (a nested object whose mode or type changes is replaced). The tool reads the network, merges and PUTs the whole object (the official PUT replaces it). Always needs confirm: true, since a typo can cut clients off; without it the tool previews the changed fields, before → after. Changing or disabling a protected network (pi-cluster by default) can cut unifi-mcp off; its preview says so.
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": "<network>"
},
"name": "unifi_update_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Network name | |
| site | No | Site name, id or reference; optional while the console has a single site | |
| vlanId | No | VLAN id | |
| zoneId | No | Firewall zone id | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| enabled | No | false disables the network: its clients lose it | |
| network | Yes | Network name or id | |
| deviceId | No | SWITCH management only: the switch that routes it | |
| management | No | Who routes it | |
| dhcpGuarding | No | DHCP guarding (official request schema) | |
| isolationEnabled | No | Isolate the network from the others | |
| ipv4Configuration | No | IPv4: hostIpAddress, prefixLength, autoScaleEnabled, dhcpConfiguration {mode SERVER|RELAY, ...} (official request schema) | |
| ipv6Configuration | No | IPv6 configuration (official request schema) | |
| cellularBackupEnabled | No | ||
| internetAccessEnabled | No | ||
| mdnsForwardingEnabled | No |