Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
List All Sandboxes
E2B_LIST_SANDBOXESList team sandboxes with state and metadata filters, a page size, and an optional pagination token. The response contains sandbox information but does not expose a next-page token.
List Sandboxes Metrics
E2B_LIST_SANDBOXES_METRICSRetrieve timestamped CPU, memory, and disk usage metrics for multiple sandboxes, keyed by sandbox ID. Metrics are collected every 5 seconds; the metrics mapping may be empty when no metrics are available yet.
List Sandboxes V2
E2B_LIST_SANDBOXES_V2List a page of team sandboxes using GET /v2/sandboxes with optional filters. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.
List Secrets
E2B_LIST_SECRETSList a page of the project's secret metadata, without stored secret values. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.
List Snapshots
E2B_LIST_SNAPSHOTSList a page of team snapshots, optionally filtered by source sandbox or name. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.
List Teams
E2B_LIST_TEAMSList all teams for the authenticated user, including their API keys. Requires auth-provider bearer authorization; API key authentication is not supported. X-Team-ID is not required. Returns all teams in one unpaginated list.