Read Session Output
read_session_outputRetrieve new output from a PTY session, optionally including all prior output. Use it to monitor command results and capture terminal responses between reads.
Instructions
Read output from a PTY session.
Returns only new output since the last read unless all_output=True.
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": {
"session_id": "<session_id>"
},
"name": "read_session_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_output | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |