read_process_output
Retrieve new output from a running session, waiting up to a set timeout for data to appear. Use an offset to page through retained lines without consuming them.
Instructions
Return new output of a session, waiting up to timeout_ms for some to appear. With offset, show retained output by line instead (negative offset = last N lines) without consuming it; length caps the lines.
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": {
"pid": "<pid>"
},
"name": "read_process_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| length | No | ||
| offset | No | ||
| timeout_ms | No | Milliseconds to wait for output. |