router_logs
Retrieve and filter TP-Link router or modem system logs, newest first, by module, severity, or text/MAC to troubleshoot connectivity and device issues.
Instructions
System log, newest first. module: e.g. DHCPD, PPP, DHCPC, SYSTEM. contains: text or a MAC to look for. max_severity: 0 emerg, 3 err, 4 warn, 6 info, 7 debug (everything). Note: the router clears it on reboot.
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 |
|---|---|---|---|
| limit | No | ||
| device | No | Name of a device from devices.toml (see the 'devices' command); omit for the default device. | |
| module | No | ||
| contains | No | ||
| max_severity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |