read_screen
Retrieve terminal screen content and parsed agent status from a multiplexer workspace. Use raw mode for full text or parsed-only output for monitoring agents.
Instructions
Read a terminal screen and parsed harness status. Use raw=true for full text or parsed_only=true for monitoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, include the full untrimmed terminal content (separators, status-bar art, all lines). Default false returns a compact de-chromed screen_preview instead. | |
| lines | No | Number of lines to read | |
| surface | No | Target surface ref | |
| workspace | No | Target workspace ref | |
| scrollback | No | Include scrollback buffer | |
| surface_id | No | Alias for `surface`, as emitted by list_agents/spawn_agent. | |
| parsed_only | No | If true, return only parsed fields (omit screen content). Best for agent monitoring. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| parsed | No | ||
| surface | No | ||
| retry_count | Yes |