agent_read
Read terminal output from an agent to review its response after prompting; use source=detection to retrieve raw bottom-of-screen text.
Instructions
Read an agent's terminal output. Use after agent_prompt to see the response; use source=detection for the raw bottom-of-screen text.
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 | ||
| lines | No | ||
| source | No | recent-unwrapped | |
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||