execute_code
Run Python, Go, or JavaScript code securely in isolated containers with the Isolator MCP Server. Execute custom code snippets or predefined templates in a controlled environment.
Instructions
Executes code (Python, Go, JavaScript) in a secure, isolated container environment.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additional_files | No | Optional array of additional files needed for execution | |
entrypoint_code | No | The main code content to execute. Required unless using snippet_name. | |
entrypoint_filename | No | Optional filename for the main code (defaults based on language). | |
language | No | The programming language (python, go, javascript). Required unless using snippet_name. | |
snippet_name | No | Name of a pre-defined code snippet to execute (e.g., 'hello_world'). Mutually exclusive with entrypoint_code/language. |