Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
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.
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.
Get Sandbox Lifecycle Events
E2B_GET_SANDBOX_LIFECYCLE_EVENTSRetrieve lifecycle events for a specific sandbox, with pagination and sort options. The response accepts creation, update, and termination event types; other event types fail response validation.
Get Sandbox Logs V2
E2B_GET_SANDBOX_LOGS_V2Retrieve structured logs for an existing E2B sandbox using the v2 API. Requires the sandbox ID and API-key or supported bearer/team authentication. Filter by minimum level or case-sensitive message substring. Use cursor (a timestamp in milliseconds), limit, and direction to retrieve a window of logs; the response contains logs without a continuation token.
Get Sandbox Metrics
E2B_GET_SANDBOX_METRICSTool to retrieve timestamped CPU, memory, and disk usage metrics for a sandbox. Use when you need to monitor resource usage of a running sandbox. Metrics are collected every 5 seconds; returns empty array if no metrics available yet.
Get Secret
E2B_GET_SECRETGet an existing secret's metadata by identifier or canonical lower-case name. Never returns the stored secret value. Requires a project API key or supported bearer authentication with team context. Returns one secret, without pagination.
Get Team Metrics
E2B_GET_TEAMS_METRICSRetrieve timestamped team metrics, including concurrent sandbox counts and sandbox start rates, with optional time bounds.
Get Team Maximum Metrics
E2B_GET_TEAMS_METRICS_MAXTool to retrieve the maximum value for a specific team metric in a given interval. Use when you need to check team limits or peak usage, such as maximum concurrent sandboxes allowed or highest resource usage.
Get Template Build Logs
E2B_GET_TEMPLATE_BUILD_LOGSRetrieve structured logs for an existing E2B template build. Requires template and build IDs and API-key or supported bearer/team authentication. Filter by level and source. Use cursor (a timestamp in milliseconds), limit, and direction to retrieve a window of logs; the response contains logs without a continuation token.
Get Template Build Status
E2B_GET_TEMPLATES_BUILD_STATUSTool to get the status of a template build. Use when you need to check the build status of a template that was started asynchronously. Useful in polling loops to monitor template builds in progress.
Get Template Files
E2B_GET_TEMPLATES_FILESTool to get an upload link for a tar file containing build layer files. Use when you need to retrieve or download template build layer files by their hash.
Get Volume
E2B_GET_VOLUMEGet a team volume's ID, name, content auth token and optional BYOC domain. Requires an existing volume ID and a team API key or supported bearer authentication with team context.
Get Webhook Configuration
E2B_GET_WEBHOOKTool to retrieve the current webhook configuration for a specific webhook. Use when you need to inspect webhook settings, verify configuration, or check webhook status.
Get Webhook Stats
E2B_GET_WEBHOOK_STATSGet aggregate delivery counts, failures, durations, and time buckets for an existing webhook. Requires a team API key or supported bearer authentication with team context. Optionally select an inclusive start and exclusive end; the provider defaults to the last 24 hours. Returns the aggregate statistics without pagination.
List API Keys
E2B_LIST_API_KEYSList all API keys for the selected team, including masked key details. Requires bearer authorization and X-Team-ID team context. Team API key authentication is not supported. Returns one unpaginated list; raw API key values are not returned.
List Default Templates
E2B_LIST_DEFAULT_TEMPLATESList platform default templates, ordered by template ID, excluding deleted templates. Non-public templates are visible only to their own team and admin callers. Build resources and envd version describe the newest ready build tagged default; buildStatus describes the newest default-tagged build in any state. Usage fields are reported only for the caller's own templates and admin callers. Supports API key or supported bearer/admin authentication. Returns an unpaginated list.