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.

  • 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.

  • Pause Sandbox

    Tool to pause a running E2B sandbox preserving its filesystem and memory state. Use when you need to temporarily suspend a sandbox while maintaining its state for later resumption. Takes approximately 4 seconds per 1 GiB of RAM to pause. Paused sandboxes can be stored for up to 30 days.

  • Set Sandbox Timeout

    Tool to set the timeout for an E2B sandbox. Use when you need to extend or reduce the sandbox lifetime. The timeout is measured from the current time, and calling this multiple times overwrites the previous TTL.

  • Refresh Sandbox

    Tool to refresh an E2B sandbox and extend its time to live. Use when you need to keep a sandbox alive longer and prevent it from timing out.

  • Update Sandbox Network

    Replace the network configuration of a running E2B sandbox. Omitting a field clears it; omitting dnsServers resets the default nameserver. Requires access to the running sandbox via an API key or supported bearer authentication with team context. Returns success after a 204 response.

  • Update Template

    Update an E2B template's public or private visibility by template ID. Public templates can be used by anyone, while private templates are restricted to the team.

  • Update Template (V2)

    Update an existing E2B template's public or team-only visibility using the v2 API and return its names. Requires a template ID and API-key or provider-supported bearer/team authentication.

  • Update Webhook Configuration

    Tool to update an existing webhook configuration including URL, enabled status, and subscribed events. Use when you need to modify webhook settings, change the destination URL, enable/disable a webhook, or update event subscriptions.