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.
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": "get_logs"
}
}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 |