router_get_system_logs
Retrieve system and cellular event logs from a TP-Link router, with filters for recent entry count, subsystem, and minimum severity.
Instructions
Retrieves system and cellular event logs from the TP-Link router.
Args: lines: Maximum number of recent log entries to return (default: 50). module: Optional filter by subsystem (e.g. '4G', 'DHCP', 'System', 'DNS'). min_level: Optional minimum severity filter ('EMERG', 'ALERT', 'CRIT', 'ERROR', 'WARN', 'NOTICE', 'INFO', 'DEBUG'). force: Set to True to bypass Network Guard safety check.
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_get_system_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| lines | No | ||
| module | No | ||
| min_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |