List Firewall Rules
list_firewall_rulesRetrieve MikroTik firewall rules from filter or nat tables. Filter by chain, disabled state, and paginate results for efficient network management.
Instructions
List firewall rules from the filter or nat table on a MikroTik router. Supports filtering by chain and disabled state, with pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| table | No | Firewall table to query: filter or nat | filter |
| chain | No | Filter rules by chain name (e.g. forward, input, srcnat) | |
| disabled | No | Filter by disabled state: true, false, or all | all |
| limit | No | Maximum number of rules to return | |
| offset | No | Offset for pagination |