unifi_update_firewall_zone
Rename a custom firewall zone or replace its network list, with a preview unless confirm: true is set. System-defined zones are refused.
Instructions
Rename a custom firewall zone or set its networks (the whole list). Always needs confirm: true; without it the tool previews. System-defined zones are refused: UniFi manages them. Moving a protected network (UNIFI_MCP_PROTECTED_NETWORKS, pi-cluster by default) into or out of a zone changes which policies reach it, so it needs confirm: true.
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": {
"zone": "<zone>"
},
"name": "unifi_update_firewall_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| site | No | Site name, id or reference; optional while the console has a single site | |
| zone | Yes | Zone name or id | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| networks | No | Networks (names or ids) in the zone; a network can be in one zone only |