List Mangle Rules
list_mangle_rulesList firewall mangle rules on a MikroTik router in evaluation order, using filters for chain, action, or disabled state to locate specific packet marking or routing rules.
Instructions
List firewall mangle rules on a MikroTik router in evaluation order. Supports filtering by chain, action, and disabled state.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_mangle_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Filter by chain name (e.g. prerouting, forward, postrouting) | |
| action | No | Filter by mangle action (e.g. mark-routing, mark-connection) | |
| disabled | No | Filter by disabled state | |
| routerId | No | Router ID; omit to use the default router. |