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.
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. |