E2B

{/* Generated by scripts/generate-integration-catalog.mjs. Do not edit by hand. */}

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: API key.
  • Connection: The key from E2B_API_KEY is sent as the X-API-Key header.
  • Provider documentation: Authentication reference.

Credentials

Set these per environment. See Connect an integration.

VariableRequiredDescription
E2B_API_KEYYesE2B API key (starts with e2b_), created in the E2B Dashboard under Keys; same env var used by the E2B SDKs and CLI Docs.

Setup

  1. Create an E2B account: Sign up at https://e2b.dev - the free hobby tier includes sandbox usage credits, so no payment method is needed to test.
  2. Get an API key: Open the E2B Dashboard (https://e2b.dev/dashboard), go to the Keys tab, and copy your API key (starts with e2b_) or create a new one.
  3. Set the environment variable: Copy the key into your .env as E2B_API_KEY.
  4. Verify access: Run List Templates and List Sandboxes to confirm the key works.

Provider notes

  • The platform REST API is served on https://api.e2b.app and authenticates with the X-API-Key header
  • Sandboxes are killed automatically when their timeout (TTL) elapses unless autoPause is set
  • Running sandboxes consume billable compute - kill sandboxes you no longer need
  • Code execution, filesystem, and process control inside a sandbox are SDK-first (served per sandbox on {port}-{sandboxID}.e2b.app) and are not covered by these platform tools

Provider API reference.

Tools

ToolAccessDescription
List Sandboxes<br /><code className="reference-identifier">e2b__list_sandboxes</code>ReadList running sandboxes
Create Sandbox<br /><code className="reference-identifier">e2b__create_sandbox</code>WriteCreate billable sandbox
Get Sandbox<br /><code className="reference-identifier">e2b__get_sandbox</code>ReadGet sandbox
Kill Sandbox<br /><code className="reference-identifier">e2b__kill_sandbox</code>WriteDestroy sandbox and discard state
List Templates<br /><code className="reference-identifier">e2b__list_templates</code>ReadList templates
Pause Sandbox<br /><code className="reference-identifier">e2b__pause_sandbox</code>WritePause sandbox
Resume Sandbox<br /><code className="reference-identifier">e2b__resume_sandbox</code>WriteResume sandbox
Set Sandbox Timeout<br /><code className="reference-identifier">e2b__set_sandbox_timeout</code>WriteReset sandbox timeout

Verify the connection

Call a read tool such as e2b__list_sandboxes with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.