read_buffer
Fetch newly accumulated output from a session's stream buffer without blocking, optionally clearing it to monitor incremental text from shells or REPLs.
Instructions
Read newly accumulated text from the stream buffer without blocking.
Args: clear: If True, flushes the read buffer after fetching. session_id: Target session ID (defaults to currently active session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |