router_logs
Read and filter a TP-Link router's system log by severity, type, text, or timestamp to diagnose DHCP, WAN, and other network issues without altering the router's log settings.
Instructions
Read the router's system log (newest first when timestamps parse). Filters: level (minimum severity, e.g. WARNING), type (e.g. DHCPD, WAN), contains (text), since ('2026-11-17 08:00:00'), limit. Never changes the router's own log filter.
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": "router_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| level | No | ||
| limit | No | ||
| since | No | ||
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| contains | No |