colab_process_output
Retrieve stdout/stderr from a Colab process by ID; paginate using byte offsets. Retained output stays readable even if the runtime is lost.
Instructions
Read retained output. Keep next_offset; on runtime loss, the local spool remains readable.
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": {
"process_id": "<process_id>"
},
"name": "colab_process_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum bytes returned; defaults to 65,536. | |
| offset | No | Byte offset in the retained spool; use prior next_offset. | |
| stream | No | Output stream to read; defaults to stdout. | stdout |
| session | No | Tracked session name. Null is allowed only when exactly one session exists. | |
| process_id | Yes | Opaque process_id returned by colab_process_start or colab_run_command. |