onda_terminal_read
Read recent terminal output, including byte totals and timestamps, to see what a terminal printed without subscribing to a live stream. Attaches a passive tap on first call.
Instructions
Read recent output of a terminal (ring buffer ~200 KB / ~1 MB if a listener is attached). Returns the current buffer content plus byte total and timestamps. Use to see what a terminal has printed without subscribing to a live stream. Lazily attaches a passive tap on first call — no impact on the terminal itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Terminal ID to read from. | |
| lines | No | Optional: cap returned content to the last N lines. |