get_logs
Retrieve RouterOS device logs with optional topic and substring filters, showing the most recent entries last.
Instructions
Read the device log, most recent last.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most recent N entries. | |
| topic | No | Filter by RouterOS log topic, e.g. 'firewall', 'dhcp', 'system', 'error'. | |
| search | No | Case-insensitive substring match on the message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |