terminal_read
Read only new output from an active terminal session until quiet or timeout, with no prompt-shape requirement. Continue from the returned offset when output is truncated.
Instructions
Read only new output until quiet or timeout; no prompt shape required.
If truncated, continue with read_output or next_output_offset.
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": "terminal_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| truncated | No | ||
| next_output_offset | No |