Read any RouterOS menu
mikrotik_printPrint RouterOS menu items from any path to inspect configurations lacking a dedicated tool; apply filters, limits, and property selection for targeted results.
Instructions
Print items from any RouterOS menu path (the equivalent of /<path> print in the terminal or opening a window in WinBox). Use this for anything without a dedicated tool, e.g. /ip/dns, /interface/bridge/port, /ip/ipsec/peer, /routing/ospf/neighbor, /queue/simple, /user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | RouterOS menu path, e.g. "/ip/address", "/interface/bridge/port" or "ip firewall filter". | |
| limit | No | Maximum rows to return (default 200). | |
| query | No | Raw RouterOS API query words for advanced filters, e.g. ["dynamic=false", "#!"] or [">rx-byte=1000"]. | |
| where | No | Equality filters, e.g. {"type": "ether", "disabled": false}. | |
| device | No | Name of the configured device. Defaults to the first device (see mikrotik_list_devices). | |
| properties | No | Only return these properties, e.g. [".id", "name", "running"]. |