blender_execute_script
Run arbitrary Python code in Blender's environment to automate tasks that no standard tool can handle. Use for custom scripting with full Blender API access.
Instructions
Execute arbitrary Python code in Blender's Python environment. CAUTION: This tool has full access to Blender's API and filesystem.
Use only when: no other tool can accomplish the task. Try blender_execute_operator first for standard Blender operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute. Has access to bpy, mathutils, and all Blender modules. |