Read bounded router-side logs
read_logsRead filtered and redacted logs from OpenWrt, Nikki, or Mihomo to troubleshoot network issues.
Instructions
Read filtered and redacted OpenWrt, Nikki, or newly observed Mihomo logs.
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": {
"source": "<source>"
},
"name": "read_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| contains | No | ||
| duration | No | ||
| max_records | No |