Basic Information

appmixer.e2b.core.RunCode

1.0.0

Public

Execute code (Python, JavaScript and more) inside an E2B sandbox using the code interpreter and return the output. The sandbox must be created from the code-interpreter-v1 template (or a custom template based on it).

Input Ports

in

FieldTypeDescription
Sandbox ID text The ID of the sandbox to run the code in, as returned by Create Sandbox.
Code textarea The source code to execute inside the sandbox.
Language select The programming language of the code.

Output Ports

out

FieldTypeDescription
Result Text string -
Stdout string -
Stderr string -
Error string -
Rich Results array -

Full Metadata