List Firewall Policies
unifi_list_firewall_policiesList zone-based firewall policies for a UniFi site to review name, ALLOW/BLOCK/REJECT action, enabled state, and system-defined status. Filter and paginate results for targeted audits.
Instructions
List zone-based firewall policies on a site: name, action (ALLOW/BLOCK/REJECT), enabled state, and whether system-defined. Use unifi_get_firewall_policy for full match criteria. Filter examples: "name.like('Block')", "metadata.origin.eq('USER_DEFINED')".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_list_firewall_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1-200, default 50) | |
| filter | No | Optional UniFi filter expression: property.function(args) with functions eq, ne, like, in, isNull, isNotNull and more; combinators and(...), or(...), not(...). Strings in single quotes. Examples: "state.eq('OFFLINE')", "access.type.eq('GUEST')", "name.like('Office*')". Note: which properties are filterable varies by endpoint — a 400 error means that property/function is not supported here. | |
| offset | No | Number of results to skip, for pagination (default 0) | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| responseFormat | No | 'markdown' for a compact human-readable summary (default), 'json' for full raw API data | markdown |