read_output
Read new output from an active process since last retrieval, with configurable timeout, ANSI stripping, and line limits. Returns empty when timeout occurs without new data.
Instructions
Read new output from an interactive process since last read.
If no new output is available, waits up to timeout seconds. Returns empty output on timeout (not an error).
Args: session_id: The session ID returned by start_process. strip_ansi: Remove ANSI escape codes from output. Default True. timeout: Seconds to wait for new output. Default 5. max_lines: Max lines to return (0 = unlimited).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| strip_ansi | No | ||
| timeout | No | ||
| max_lines | No |