read_process_output
Fetch new stdout and stderr from a running background process. Pass offsets to retrieve only recent output and wait_ms to block until new output appears or the process exits.
Instructions
Read captured stdout and stderr from a managed background process. Pass the previous "next_stdout_offset" and "next_stderr_offset" values as "since_stdout" and "since_stderr" to receive only new output, and "wait_ms" to block until output arrives or the process exits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID returned by start_process. | |
| wait_ms | No | Wait up to this long for new output or process exit. | |
| since_stderr | No | Return stderr produced after this offset. | |
| since_stdout | No | Return stdout produced after this offset. |