list_firewall_rules
List firewall filter rules in evaluation order, with stable IDs for later changes. Optionally filter by chain and include dynamic rules.
Instructions
List firewall filter rules in evaluation order.
Each rule carries both an id and a position. Use id for any
later change: position is only where the rule currently sits, and it
shifts as soon as anything is added, removed or moved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Restrict to one chain: 'input', 'forward', 'output', or a custom chain name. | |
| verbose | No | Return every field including packet and byte counters. | |
| include_dynamic | No | Include rules RouterOS generates itself, which cannot be edited. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |