E2B

Service domainCODE SANDBOX
E2B icon
Arcade OptimizedBYOCPro

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

Author:Arcade
Version:3.1.4
Auth:No authentication required
2tools
2require secrets

E2B Toolkit

The E2B toolkit integrates E2B (opens in new tab) 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 (opens in new tab), 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 with e2b_.

Configure secrets in Arcade at https://docs.arcade.dev/en/guides/create-tools/tool-basics/create-tool-secrets (opens in new tab) or via the Arcade secrets dashboard (opens in new tab).

Available tools(2)

2 of 2 tools
Operations
Behavior
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

Last updated on