Start a background process
rent_start_processStarts a command in the background and answers at once with its process id. The process id is valid while the sandbox runs; read its output with rent_get_process_output. The process ends with the sandbox. Arguments not listed here go to the REST route as they are, which refuses them by name.
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>",
"cmd": "<cmd>"
},
"name": "rent_start_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| cwd | No | ||
| env | No | ||
| user | No | ||
| stdin | No | Keep stdin open. | |
| 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 |
|---|---|---|---|
| cmd | Yes | ||
| running | Yes | ||
| exit_code | Yes | ||
| process_id | Yes | ||
| started_at | Yes |