get_logs_by_topic
Retrieve MikroTik router logs filtered by topic such as system, DHCP, or firewall to isolate specific events and troubleshoot issues.
Instructions
Gets logs for a specific topic/facility (system, dhcp, interface, firewall, etc.).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "get_logs_by_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| topic | Yes | ||
| device | No | ||
| time_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |