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
- 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)