Read Agent Output
agent_readRead terminal output from a local coding agent by target, defaulting to recent unwrapped output and 120 lines so completed responses and code reviews are easy to inspect.
Instructions
Read terminal output from a coding agent. Defaults to 'recent-unwrapped' (soft wraps joined) and 120 lines, which is best for reading completed responses and code reviews.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "agent_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ansi | No | Preserve ANSI color/style escape codes when true. | |
| lines | No | Number of lines/rows to read (default 120). | |
| source | No | Snapshot source: 'recent-unwrapped' (default), 'recent', 'visible', or 'detection'. | |
| target | Yes | Unique live agent name or hosting pane ID (for example 'reviewer' or 'w1:p2'). |