Get firewall policy order
unifi_get_firewall_policy_orderingFetch the evaluation order of user-defined firewall policies between two zones, including before/after system-defined policy ID lists, to inspect policy precedence.
Instructions
Get the evaluation order of user-defined policies between a source and destination zone (beforeSystemDefined / afterSystemDefined policy ID lists). Uses the official integration API, so it requires API-key authentication (UNIFI_API_KEY) and Network 9.0+.
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": {
"source_zone_id": "<source_zone_id>",
"destination_zone_id": "<destination_zone_id>"
},
"name": "unifi_get_firewall_policy_ordering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name/ID as used in the API (e.g. 'default'). Defaults to the configured site. See unifi_list_sites. | |
| source_zone_id | Yes | Source zone ID (v2 _id from unifi_list_firewall_zones, or integration API id) | |
| destination_zone_id | Yes | Destination zone ID |