opn_list_firewall_rules
List firewall filter rules managed via the OPNsense MVC API, returning only rules from the Automation section.
Instructions
List firewall filter rules configured via the MVC API.
IMPORTANT: This only returns rules created through the OPNsense MVC filter API (Settings > Firewall > Automation). Legacy rules configured via the traditional GUI (Firewall > Rules) are NOT visible through this endpoint. Most users have legacy rules — a result of 0 rules does not mean no rules exist.
Use this when you need to inspect MVC-managed firewall filter rules. Returns: dict with 'rows' (list of rules) and 'rowCount' (total).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||