e2b_refresh_sandbox
Refresh a sandbox to extend its time to live and prevent expiration from interrupting running tasks.
Instructions
Refresh a sandbox, extending its time to live.
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": {
"sandboxId": "<sandboxId>"
},
"name": "e2b_refresh_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Duration in seconds to keep the sandbox alive | |
| sandboxId | Yes |