Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Connect to Sandbox
E2B_CONNECT_SANDBOXTool 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)
E2B_CONNECT_SANDBOX_V2Connect 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
E2B_PAUSE_SANDBOXTool 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
E2B_POST_SANDBOXES_TIMEOUTTool 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
E2B_REFRESH_SANDBOXTool 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
E2B_UPDATE_SANDBOX_NETWORKReplace 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
E2B_UPDATE_TEMPLATEUpdate 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)
E2B_UPDATE_TEMPLATE_V2Update 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
E2B_UPDATE_WEBHOOKTool 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.