pyodide_execute
Execute Python code remotely with Pyodide, capturing outputs and saving images to specified directories for easy access via file paths.
Instructions
Execute Python code using Pyodide with output capture. When generating images, they will be automatically saved to the output directory instead of being displayed. Images can be accessed from the saved file paths that will be included in the output.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code to execute | |
timeout | No | Execution timeout in milliseconds (default: 5000) |