Skip to main content
The execute capability runs code in a secure, sandboxed environment. Perfect for data analysis, computation, or running untrusted code.

Providers

Basic Usage

Parameters

string
required
The code to execute.
string
required
Programming language: python, javascript, bash.
number
Maximum execution time in milliseconds. Default: 30000 (30s).

Response

Examples

Python Data Analysis

JavaScript Execution

Shell Commands

LLM-Generated Code

Security

All code runs in isolated sandboxes. There is no network access by default. Filesystems are ephemeral. This is safe for running untrusted code.
  • Each execution runs in a fresh sandbox
  • No access to the internet (by default)
  • No access to other sandboxes
  • Filesystem is destroyed after execution
  • Resource limits enforced (CPU, memory, time)

Pricing

Error Handling