Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Assign Template Tags
E2B_ASSIGN_TEMPLATE_TAGSAssign 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
E2B_CHECK_TEMPLATE_ALIASCheck 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
E2B_CHECK_TEMPLATE_TAGCheck 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
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.
Count Template Tags
E2B_COUNT_TEMPLATE_TAGSCount 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)
E2B_CREATE_SANDBOXCreate 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
E2B_CREATE_SANDBOX_SNAPSHOTCreate 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
E2B_CREATE_TEMPLATETool 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
E2B_CREATE_VOLUMECreate 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
E2B_CREATE_WEBHOOKTool 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
E2B_DELETE_SANDBOXESTool 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
E2B_DELETE_TEMPLATEPermanently delete an E2B template that is no longer needed. The template cannot be deleted while running or paused sandboxes use it.
Delete Template Tags
E2B_DELETE_TEMPLATE_TAGSDelete 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
E2B_DELETE_VOLUMEDelete 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
E2B_DELETE_WEBHOOKTool 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
E2B_FORK_SANDBOXFork 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
E2B_GET_HEALTHTool 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
E2B_GET_SANDBOXTool 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
E2B_GET_SANDBOXES_LOGSTool 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.