update_webhook
Update Webhook
Update an existing webhook's configuration. You can change the target URL, enable/disable it, update subscribed event types, or change the signature secret.
update_webhook
Update an existing webhook's configuration. You can change the target URL, enable/disable it, update subscribed event types, or change the signature secret.
list_webhooks
List all registered webhooks for sandbox lifecycle events on the authenticated team.
delete_volume
Permanently delete a storage volume. All data stored in the volume will be lost.
list_sandboxes
List sandboxes associated with the authenticated team. Filter by state (running, paused) or metadata. Supports pagination for large result sets.
get_lifecycle_events
Retrieve sandbox lifecycle events. Track when sandboxes are created, paused, resumed, updated, snapshotted, or killed. Can fetch events for a specific sandbox or for all sandboxes on the team.
create_webhook
Register a new webhook to receive notifications for sandbox lifecycle events. Events include sandbox creation, updates, termination, pause, resume, and snapshots.
create_volume
Create a new persistent storage volume. Volumes can be mounted to sandboxes to provide data that persists across sandbox lifecycles.
delete_template
Permanently delete a sandbox template. Existing sandboxes created from this template will continue running, but no new sandboxes can be created from it.
list_snapshots
List persistent snapshots. Optionally filter by sandbox ID or template ID. Snapshots capture the full state of a sandbox and can be used to create new sandboxes.
create_sandbox
Create a new E2B cloud sandbox environment. Sandboxes are lightweight, secure Linux VMs for executing code in isolation. You can specify a custom template, set a timeout, configure auto-pause behavior, and attach metadata or environment variables.
set_sandbox_timeout
Extend or reduce the timeout of a running sandbox. After the timeout expires, the sandbox will be killed or paused (depending on its auto-pause configuration).
list_templates
List all sandbox templates available to the authenticated team. Templates define the base environment (CPU, memory, disk, pre-installed dependencies) for creating sandboxes.
pause_sandbox
Pause a running sandbox, preserving its full state including filesystem, memory, and running processes. The sandbox can be resumed later from the exact same state. Paused sandboxes persist indefinitely and do not count against runtime limits.
list_volumes
List all storage volumes available to the authenticated team. Volumes provide persistent storage that outlives individual sandbox instances.
resume_sandbox
Resume a paused sandbox, restoring it to its previous state including filesystem, memory, and running processes. Optionally set a new timeout for the resumed sandbox.
get_sandbox
Retrieve detailed information about a specific sandbox by its ID, including its state, resource allocation, template, timeout, and metadata.
delete_webhook
Permanently delete a registered webhook. It will stop receiving events immediately.
kill_sandbox
Permanently terminate a running or paused sandbox. All files, processes, and state will be destroyed. This action cannot be undone.
create_snapshot
Create a persistent snapshot of a running sandbox's state. The sandbox is briefly paused during snapshot creation and then automatically resumes. Snapshots allow rapidly spinning up new sandboxes from a known state.
Create, manage, and terminate secure cloud sandbox environments (lightweight Linux VMs) for executing AI-generated code. Run Python, JavaScript, and other code in isolated Jupyter-based interpreters with stateful sessions. Execute shell commands, install packages, and manage processes. Perform filesystem operations including creating, reading, writing, deleting, uploading, and downloading files. Pause and resume sandboxes to preserve full state including memory and running processes. Create snapshots of running sandboxes to rapidly spin up new instances from a known state. Build custom sandbox templates from Dockerfiles with configurable CPU, memory, and dependencies. Control desktop GUI environments with programmatic mouse, keyboard, screenshot, and streaming capabilities. Configure port forwarding for network access, connect external storage buckets, and manage MCP server integrations. Register webhooks for sandbox lifecycle events (created, updated, killed).
Common questions about connecting E 2 B to AI agents with Metorial.