E2B
Service domainCODE SANDBOX
Arcade OptimizedBYOCPro
Arcade.dev LLM tools for running code in a sandbox using E2B
Author:Arcade
Version:
3.1.2Auth:No authentication required
2tools
2require secrets
E2B Toolkit
The E2B toolkit integrates E2B sandboxed code execution into Arcade, enabling LLMs to run arbitrary code and generate visualizations in a secure, isolated environment.
Capabilities
- Sandboxed code execution: Run code snippets and capture stdout/stderr output without risk to the host environment.
- Matplotlib chart generation: Execute Python code that produces static matplotlib figures; results are returned as base64-encoded images ready for display or further processing.
Secrets
This toolkit requires the following secret:
E2B_API_KEY: An API key issued by E2B that authenticates requests to their sandbox API. Obtain it by signing in to the E2B dashboard, navigating to API Keys, and creating a new key. A free tier is available; higher usage limits require a paid plan. The key is a long alphanumeric string prefixed withe2b_.
Configure secrets in Arcade at https://docs.arcade.dev/en/guides/create-tools/tool-basics/create-tool-secrets or via the Arcade secrets dashboard.
Available tools(2)
2 of 2 tools
Operations
Behavior
| Tool name | Description | Secrets | |
|---|---|---|---|
Run the provided Python code to generate a static matplotlib chart.
The resulting chart is returned as a base64 encoded image. | 1 | ||
Run code in a sandbox and return the output. | 1 |
Last updated on