Extend the sandbox TTL
sandbox_set_timeoutUpdate a running sandbox's time-to-live so long-running jobs are not reaped before completion.
Instructions
Update the time-to-live of a running sandbox so long jobs are not reaped while they run.
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>",
"timeout_ms": "<timeout_ms>"
},
"name": "sandbox_set_timeout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_id | Yes | Sandbox ID, e.g. sbx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (returned by sandbox_create). | |
| timeout_ms | Yes | New TTL in milliseconds. |