e2b_connect_sandbox
Connect to an existing sandbox, resuming it if paused, and receive fresh connection details with a specified timeout.
Instructions
Connect to a sandbox. If paused, resumes it and returns fresh sandbox details.
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>",
"timeout": "<timeout>"
},
"name": "e2b_connect_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | Yes | Timeout in seconds from now until the sandbox expires | |
| sandboxId | Yes |