Create Custom Firewall Zone
unifi_create_firewall_zoneCreate a custom firewall zone that groups selected UniFi networks using a name and network UUIDs, then returns the created zone for firewall or ACL configuration.
Instructions
Create a custom firewall zone grouping one or more networks. 'config' requires name (string) and networkIds (array of network UUIDs from unifi_list_networks). Returns the created zone.
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": {
"config": "<config>"
},
"name": "unifi_create_firewall_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Zone object. Required: name (string), networkIds (array of network UUIDs). 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. |