execute
Runs Python code with dynamically imported functions from SCRIPT nodes, merging dependencies and environment variables, then sanitizes output to protect secrets.
Instructions
Execute Python code with dynamically imported functions from SCRIPT nodes.
The system automatically:
Loads specified SCRIPT nodes
Merges their PEP 723 dependencies
Loads ENV variables from connected nodes AND directly specified envs
Executes code using 'uv run'
Sanitizes output to remove secret values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute | |
| envs | No | List of ENV node names to load directly - can be list or JSON string (in addition to ENVs connected to imported scripts via CONTAINS) | |
| imports | No | List of SCRIPT node names to import - can be list or JSON string | |
| timeout | No | Execution timeout in seconds (max 600) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||