system_log
Fetch OpenWrt system log entries, with optional filter to grep for specific messages.
Instructions
Read the system log (logread) with optional filtering.
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": "system_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of recent log lines to fetch | |
| filter | No | Filter string to grep for in logs |