ssh-session-read
Retrieve buffered terminal output from an SSH PTY session. Optionally wait for new output using long-polling.
Instructions
Read raw buffered terminal output from an SSH PTY session. Supports optional long-polling for new terminal output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Read from this output offset. If omitted, return the latest tail | |
| session | No | Session id, session ref, or session name. Defaults to the active session | |
| maxChars | No | Maximum chars to return | |
| waitForChangeMs | No | Wait up to this many milliseconds for new terminal output before returning |