process_output
Read the output and status of a start_process session. newOnly returns only output since the last newOnly read; waitMs waits for new output or exit; waitForPrompt waits until it asks for input (heuristic). Default: the last tailChars of output. Returns JSON with running, exitCode, output, nextCursor and interactionState.
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": {
"id": "<id>"
},
"name": "process_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cursor | No | ||
| length | No | ||
| offset | No | ||
| waitMs | No | ||
| newOnly | No | ||
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| tailChars | No | ||
| waitForPrompt | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |