Codesandbox
Arcade Optimized
Arcade.dev LLM tools for running code in a sandbox
Author:Arcade
Version:
2.0.1Auth:No authentication required
2tools
2require secrets
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 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 |
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
code | string | Required | The Python code to run |
Requirements
Secrets:E2B_API_KEY
Output
Type:
json— A dictionary with the following keys: base64_image, logs, error#
CodeSandbox.RunCode
Run code in a sandbox and return the output.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
code | string | Required | The code to run |
language | string | Optional | The language of the codepythonjsrjavabash |
Requirements
Secrets:E2B_API_KEY
Output
Type:
string— The sandbox execution as a JSON stringLast updated on