Renew Sandbox
sandbox_renewExtend a sandbox's expiry when a task runs longer than its original timeout, so work can continue without creating a replacement sandbox.
Instructions
Extend a sandbox expiry. Use this instead of creating a replacement when a task runs longer than the original timeout.
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>",
"extend_seconds": "<extend_seconds>"
},
"name": "sandbox_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_id | Yes | ID of the target sandbox | |
| extend_seconds | Yes | Seconds to add to the current expiry (e.g. 3600 for one more hour). An already-expired sandbox extends from now. |