run-python-code
Execute Python code securely in a sandbox environment, with options for pip install commands, JSON parsing, timeout, memory allocation, and saving output files.
Instructions
Execute Python code in a sandbox.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code | |
commands | No | Pip install commands | |
memory | No | Memory allocation in MB | |
parseJson | No | Parse output as JSON | |
saveOutputFiles | No | Save output files | |
timeout | No | Execution timeout in ms |