read_terminal
Read cleaned terminal output (ANSI stripped, blank runs collapsed) from a session, choosing recent lines or full scrollback history to inspect command results and debug terminal state.
Instructions
Read terminal text (ANSI stripped, blank runs collapsed). Default: last lines
lines of the screen. scrollback=true reads the whole history (capped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| session | No | ||
| scrollback | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |