Skip to Content

Codesandbox

Codesandbox icon
Arcade Optimized

Arcade.dev LLM tools for running code in a sandbox

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

Arcade.dev provides a powerful toolkit for running code in a sandbox environment, enabling developers to seamlessly execute various code snippets.

Capabilities

  • Generate static matplotlib charts from Python code.
  • Execute different programming languages and return outputs efficiently.

OAuth

  • No OAuth authentication required.
  • API key is used for access: E2B_API_KEY.

Secrets

  • Requires an API key for authentication, specifically the E2B_API_KEY to securely access and utilize the tools provided by CodeSandbox.

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

#

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

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