execute_houdini_code
Run arbitrary Python inside Houdini's environment, returning status and stdout/stderr, while blocking dangerous 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "execute_houdini_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| allow_dangerous | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |