execute_houdini_code
Execute Python code inside Houdini's environment and retrieve status, stdout, and stderr. Blocks dangerous operations like file deletion or subprocess calls unless explicitly allowed.
Instructions
Execute arbitrary Python code in Houdini's environment.
Returns status and any stdout/stderr generated by the code.
Blocks dangerous patterns (hou.exit, os.remove, subprocess, etc.) unless allow_dangerous=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| allow_dangerous | No |