Skip to Content

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

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.

Operations
Create
Service domains
Code sandbox
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

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

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

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Opaque
Service domains
Code sandbox
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

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