read_output
Reads buffered output from a terminal session using a default or independent named cursor, enabling agents to retrieve command results without losing output between reads.
Instructions
Read buffered output from the default or an independent named cursor.
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_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| reader_id | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| output | Yes | ||
| truncated | No | ||
| next_offset | No | ||
| oldest_offset | No |