E2B
Arcade OptimizedBYOCPro
Arcade.dev LLM tools for running code in a sandbox using E2B
Author:Arcade
Version:
3.0.1Auth:No authentication required
2tools
2require secrets
Arcade.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)
2 of 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
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
Secrets:E2B_API_KEY
Output
Type:
json— A dictionary with the following keys: base64_image, logs, error#
E2b.RunCode
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
Secrets:E2B_API_KEY
Output
Type:
string— The sandbox execution as a JSON stringLast updated on