Update Firewall Zone
unifi_update_firewall_zoneReplace a UniFi firewall zone to update its name or assigned networks. Fetch the current zone, modify the full config, and confirm changes because moving networks alters applicable firewall policies.
Instructions
Replace a firewall zone (full PUT) — e.g. change which networks belong to it. Fetch the current zone via unifi_list_firewall_zones, modify, and pass as 'config'. CAUTION: moving networks between zones changes which firewall policies apply to them; confirm with the user. IDs come from unifi_list_firewall_zones.
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": {
"zoneId": "<zoneId>",
"config": "<config>"
},
"name": "unifi_update_firewall_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full zone object to write. Typically name + networkIds. 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. | |
| zoneId | Yes | Firewall zone ID (UUID from unifi_list_firewall_zones) |