Skip to Content

E2B

E2B icon
Arcade OptimizedBYOCPro

Arcade.dev LLM tools for running code in a sandbox using E2B

Author:Arcade
Version:3.0.1
Auth:No authentication required
2tools
2require secrets
PyPI VersionPython VersionsWheel StatusDownloadsLicense

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

ParameterTypeReq.Description
codestringRequiredThe Python code to run

Requirements

Secrets:E2B_API_KEY

Output

Type:jsonA dictionary with the following keys: base64_image, logs, error
#

E2b.RunCode

Run code in a sandbox and return the output.

Parameters

ParameterTypeReq.Description
codestringRequiredThe code to run
languagestringOptionalThe language of the code
pythonjsrjavabash

Requirements

Secrets:E2B_API_KEY

Output

Type:stringThe sandbox execution as a JSON string
Last updated on