Get firewall policy ordering
unifi_get_firewall_policy_orderingRetrieve the evaluation order of user-defined firewall policies for a source/destination zone pair, showing policies before and after system-defined rules.
Instructions
Get the evaluation order of user-defined firewall policies for a specific (source zone, destination zone) pair. Returns: orderedFirewallPolicyIds.beforeSystemDefined[] and orderedFirewallPolicyIds.afterSystemDefined[] arrays of policy IDs. System-defined rules sit between these two arrays.
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": {
"siteId": "<siteId>",
"sourceFirewallZoneId": "<sourceFirewallZoneId>",
"destinationFirewallZoneId": "<destinationFirewallZoneId>"
},
"name": "unifi_get_firewall_policy_ordering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| sourceFirewallZoneId | Yes | Source firewall zone ID | |
| destinationFirewallZoneId | Yes | Destination firewall zone ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderedFirewallPolicyIds | No |