E2B
Arcade.dev LLM tools for running code in a sandbox using E2B
3.1.4E2B 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 withe2b_.
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)
| 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
Overview
Browse Arcade's catalog of pre-built MCP servers — integrations for GitHub, Slack, Google Workspace, Salesforce, and dozens of other services, ready to use with any MCP-compatible client via the Arcade Engine.
Nimble
Search, extract, crawl, and map the web. Nimble (Nimbleway) is available in Arcade as a Partner MCP server.