Read process output
rent_get_process_outputOutput of a background process after a cursor, whether it still runs, and its exit code. Omit cursor to read from the start; pass the answer's cursor back unchanged to read only newer output. Cursors and process ids are valid while the sandbox runs.
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": {
"sandbox_id": "<sandbox_id>",
"process_id": "<process_id>"
},
"name": "rent_get_process_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| wait_ms | No | Wait up to this long for new output. Default 0. | |
| process_id | Yes | From rent_start_process. | |
| sandbox_id | Yes | Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunks | Yes | ||
| cursor | Yes | ||
| running | Yes | ||
| exit_code | Yes | ||
| process_id | Yes |