Codeinterpreter
Learn how to use Codeinterpreter with Composio
Overview
SLUG: CODEINTERPRETER
Description
CodeInterpreter extends Python-based coding environments with integrated data analysis, enabling developers to run scripts, visualize results, and prototype solutions inside supported platforms
Tools
Executing tools
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Python
Tool List
CODEINTERPRETER_CREATE_SANDBOX
Tool Name: Create Sandbox
Description
Action Parameters
keep_alive
Action Response
data
error
successful
CODEINTERPRETER_EXECUTE_CODE
Tool Name: Execute Code
Description
Action Parameters
code_to_execute
keep_alive
sandbox_id
timeout
Action Response
data
error
successful
CODEINTERPRETER_GET_FILE_CMD
Tool Name: Get File
Description
Action Parameters
file_path
sandbox_id
timeout
Action Response
data
error
successful
CODEINTERPRETER_RUN_TERMINAL_CMD
Tool Name: Run Terminal Command
Description
Action Parameters
command
keep_alive
sandbox_id
timeout
Action Response
data
error
successful
CODEINTERPRETER_UPLOAD_FILE_CMD
Tool Name: Upload File
Description
Action Parameters
destination_path
file
overwrite
sandbox_id
Action Response
data
error
successful