terminal_read
Fetch the current visible output from a running terminal session, returning a specified number of lines with formatting codes removed.
Instructions
Read the current visible output from a terminal session. Returns the last N lines of output with ANSI codes stripped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Terminal name to read from | |
| lines | No | Number of lines to capture (default: 50, max: 500) |