serial_output_history
Retrieve historical serial console output without draining the buffer. Use since_seq for lossless cursor-paged JSON, or seconds/last_bytes for prose.
Instructions
Non-destructive history. With since_seq: JSON cursor page. Without: prose by time/bytes. serial_read is drain-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | If > 0, return output from the last N seconds (prose). | |
| max_bytes | No | With since_seq: max raw bytes in this page (default broker cap). | |
| since_seq | No | Cursor from a prior history response: lossless page as JSON (cursor/dropped/has_more/chunks). Prefer this over serial_read. | |
| last_bytes | No | If > 0, return the last N bytes of output (prose). |