Read log by device
get_log_by_deviceRetrieve router log lines for a single device by MAC, IP, or name, expanding the identifier to all known aliases for device-specific troubleshooting.
Instructions
Router log lines about one device: the given MAC, IP or name is expanded to all of that device's known MACs, IPs and names. No time window; for the whole log or since/until use get_log.
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": {
"device": "<device>"
},
"name": "get_log_by_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of lines (default 50) | |
| device | Yes | MAC address, IP address or device name |