renew_sandbox
Keep a sandbox from expiring. With no timeout_seconds it resets the idle clock — the cheap keep-alive to call during a long job so an idle-pause does not land mid-run. With timeout_seconds it re-stamps the hard lifetime instead, counted from now; -1 asks for no expiry at all, which needs a plan that includes persistent workstations and is refused otherwise. A request above the plan's ceiling is silently clamped to it, so read back with get_sandbox if the exact expiry matters.
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>"
},
"name": "renew_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_id | Yes | sandbox id, e.g. sb_ab12cd | |
| timeout_seconds | No | new hard lifetime in seconds; -1 = never expire. Omit to just reset the idle clock |