E2B
Arcade.dev LLM tools for running code in a sandbox using E2B
3.1.1Arcade.dev provides the E2b toolkit, enabling developers to run Python code in a secure sandbox environment. This toolkit is ideal for generating visualizations and executing code snippets safely.
Capabilities
- Execute Python code in a controlled environment
- Generate static matplotlib charts
- Return outputs as base64 encoded images or direct results
OAuth
- No OAuth authentication required. Use API keys for access.
Secrets
- Manage API keys, such as the E2B_API_KEY, to authenticate and access the toolkit functionalities securely.
Available tools(2)
| 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 |
Selected tools
No tools selected.
Click "Show all tools" to add tools.
Requirements
Select tools to see requirements
E2b.CreateStaticMatplotlibChart
Execution hints
Signals for MCP clients and agents about how this tool behaves.
Does not modify remote state.
May delete or overwrite remote data.
Safe to retry without extra side effects.
Can call out to external systems.
Run the provided Python code to generate a static matplotlib chart. The resulting chart is returned as a base64 encoded image.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
code | string | Required | The Python code to run |
Requirements
Output
json— A dictionary with the following keys: base64_image, logs, errorE2b.RunCode
Execution hints
Signals for MCP clients and agents about how this tool behaves.
Does not modify remote state.
May delete or overwrite remote data.
Safe to retry without extra side effects.
Can call out to external systems.
Run code in a sandbox and return the output.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
code | string | Required | The code to run |
language | string | Optional | The language of the codepythonjsrjavabash |
Requirements
Output
string— The sandbox execution as a JSON string