# Code Interpreter

CodeInterpreter extends Python-based coding environments with integrated data analysis, enabling developers to run scripts, visualize results, and prototype solutions inside supported platforms

- **Category:** developer tools
- **Auth:** NO_AUTH
- **Composio Managed App Available?** N/A
- **Tools:** 5
- **Triggers:** 0
- **Slug:** `CODEINTERPRETER`
- **Version:** 20260429_00

## Tools

### Create Sandbox

**Slug:** `CODEINTERPRETER_CREATE_SANDBOX`

Create a sandbox to execute python code in a Jupyter notebook cell. This is useful for agents to communicate, execute code, see output, read files, write files, etc. It's like you own personal computer, but in the cloud. Use /home/user folder to write/read files.

### Execute Code

**Slug:** `CODEINTERPRETER_EXECUTE_CODE`

Execute python code in a sandbox and return any result, stdout, stderr, and error. Use /home/user folder to write/read files. Try to not use plt.show() as the code is executed remotely. Use files for image/chart output instead.

### Get File

**Slug:** `CODEINTERPRETER_GET_FILE_CMD`

Get a file from the sandbox and returns the file. The files should be read from /home/user folder.

### Run Terminal Command

**Slug:** `CODEINTERPRETER_RUN_TERMINAL_CMD`

Run a command in the terminal and returns the stdout, stderr, and error code. Use /home/user folder to write/read files.

### Upload File

**Slug:** `CODEINTERPRETER_UPLOAD_FILE_CMD`

Upload a file to the sandbox environment. The files should be uploaded to the /home/user folder.
