Developer Tools

E2B

Open-source Code Interpreting for AI Apps. Run sandboxed code execution environments with support for multiple programming languages.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Assign Template Tags

    Assign tags to an existing E2B template build identified by a name:tag target. Requires a team API key or supported bearer authentication with team context. Returns the assigned tags and their build ID; this operation is not paginated.

  • Check Template Alias

    Check whether an E2B template alias exists and return its template ID and visibility. Requires a template alias and a team API key or supported bearer authentication with team context. A missing alias raises an HTTP 404 error. This lookup is unpaginated.

  • Check Template Tag

    Check whether an E2B template tag has at least one ready build. Requires a template ID, a nonempty tag name, and a team API key or supported bearer authentication with team context. Returns the existence flag and normalized tag name. A missing template or a template belonging to another team raises HTTP 404. This lookup is unpaginated.

  • Connect to Sandbox

    Tool to connect to an existing E2B sandbox and retrieve its details. Use when you need to reconnect to a sandbox from different environments or resume a paused sandbox. The TTL is extended upon connection.

  • Connect to Sandbox (V2)

    Connect to an existing E2B sandbox and return its details, resuming it if paused. Requires an existing sandbox and API-key or provider-supported bearer/team authentication. TTL is only extended; omitted timeout defaults to 300 seconds on the provider.

  • Count Template Tags

    Count distinct tags of an E2B template that have at least one ready build. Requires a template ID and a team API key or supported bearer authentication with team context. Returns the total, including zero. A template that does not exist or belongs to another team raises an HTTP 404 error.

  • Create Secured Sandbox (V2)

    Create a sandbox from a template using POST /v2/sandboxes. Requires a template whose envd supports secured access and an API key or provider bearer with team authentication. All system communication is secured. Supports optional team-scoped idempotency for retries; conflicting or unknown outcomes raise errors.

  • Create Sandbox Snapshot

    Create a persistent snapshot from an existing E2B sandbox's current state. Snapshots outlive the source sandbox and can be used to create new sandboxes. The source keeps running. Requires access to the source sandbox through an API key or supported bearer authentication with team context.

  • Create Template

    Tool to create a new E2B template with specified configuration. Use when you need to define a new sandbox template that can be used to spawn sandbox environments.

  • Create Volume

    Create a new E2B team volume and return its identifier and content access token. Requires an API key or supported bearer authentication with team context. For BYOC teams, the response also supplies the volume content destination domain.

  • Create Webhook

    Tool to register a new webhook to receive sandbox lifecycle events for the team. Use when you need to set up notifications for sandbox lifecycle events such as creation, updates, or termination.

  • Delete Sandbox

    Tool to terminate and permanently delete a running E2B sandbox instance. Use when you need to kill a sandbox that is no longer needed. Once terminated, the sandbox cannot be resumed.

  • Delete Template

    Permanently delete an E2B template that is no longer needed. The template cannot be deleted while running or paused sandboxes use it.

  • Delete Template Tags

    Delete multiple tags from a named E2B template. Requires an existing template and a project API key or supported bearer authentication with team context. Returns success after an empty 204 response.

  • Delete Volume

    Delete an existing E2B team volume by its identifier. Requires access to the volume's team through an API key or supported bearer authentication with team context. Returns success after an empty 204 response.

  • Delete Webhook

    Tool to unregister a webhook and stop receiving lifecycle events. Use when you need to remove a webhook that is no longer needed or to clean up webhook registrations.

  • Fork Sandbox

    Fork a running E2B sandbox by briefly pausing it, taking a full-memory snapshot, and resuming it with its ID and expiration unchanged. Create 1–100 new sandboxes from that snapshot. Requires an existing running sandbox and API-key auth or provider bearer auth with a team header. Inspect every fork's sandbox or error: HTTP 201 can include individual failures. A non-201 error means the request failed before any forks were attempted. No pagination.

  • Check API Health

    Tool to check the health status of the E2B API. Use when you need to verify that the API service is operational and accessible.

  • Get Sandbox

    Tool to retrieve detailed information about a specific sandbox by its ID. Use when you need to check sandbox status, metadata, or configuration details.

  • Get Sandbox Logs

    Tool to retrieve logs from a specific E2B sandbox instance. Use when you need to debug or monitor sandbox execution by viewing its console output and system logs.

Page 1 / 3Next