sandbox_create
Create a new E2B cloud sandbox—a secure Linux VM—for isolated development or testing. Returns a sandboxId to use with other tools. Specify template for pre-configured environments and timeout for duration control.
Instructions
Create a new E2B cloud sandbox (secure Linux VM). Returns a sandboxId to use with other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | No | Sandbox template ID. Defaults to "base". Use a custom template for pre-configured environments. | |
| timeoutMs | No | Sandbox timeout in milliseconds. Default: 300000 (5 min). Max: 86400000 (24h on Pro). | |
| metadata | No | Key-value labels for the sandbox (e.g., {"repo": "user/project"}). |