blender_run_python
Execute Python code inside a live Blender session with bpy available, returning stdout for automation, scripted edits, and scene inspection.
Instructions
Run Python inside Blender (bpy available). The reply is the code's stdout: use print().
Executes arbitrary code in the user's Blender session. Keep edits reproducible: record meaningful changes in your build scripts, not only in the live scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No |