pty_read
Read new output from a PTY session to monitor running commands or retrieve all buffered terminal text by setting all to true. ANSI escapes are stripped unless raw is enabled.
Instructions
Read new terminal output from a PTY session (or all buffered output with all: true). ANSI escapes are stripped by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| all | No | ||
| raw | No | ||
| maxChars | No |