List Sandboxes
e2b__list_sandboxes | Read | List all running sandboxes, optionally filtered by metadata key/value pairs |
Create Sandbox
e2b__create_sandbox | Write | Create a new sandbox from a template (starts a billable running sandbox) |
Get Sandbox
e2b__get_sandbox | Read | Get a sandbox by ID, including template, state, resources, and start/end times |
Kill Sandbox
e2b__kill_sandbox | Write | Kill a sandbox by ID, immediately terminating it and discarding its state |
List Templates
e2b__list_templates | Read | List all sandbox templates available to the account, with CPU, memory, and disk defaults |
Pause Sandbox
e2b__pause_sandbox | Write | Pause a running sandbox, preserving its state so it can be resumed later - the middle ground between running and killed (returns 204 on success) |
Resume Sandbox
e2b__resume_sandbox | Write | Resume a paused sandbox with its preserved state and a fresh timeout |
Set Sandbox Timeout
e2b__set_sandbox_timeout | Write | Reset a running sandbox’s TTL: the sandbox will expire the given number of seconds from now (each call overwrites the previous timeout) - use this to keep a sandbox alive mid-task (returns 204 on success) |