serial_log
Read serial output from OpenWrt routers to capture boot messages, kernel logs, and command output, with an option to clear the buffer.
Instructions
Read the serial port output buffer. Captures all serial output including boot messages, kernel logs, and command output.
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": "serial_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | If true, clear the log buffer after reading. | |
| lines | No | Number of recent lines to return. Omit to return all buffered output. |