blender_run_operator
Run any Blender bpy.ops operator by name, with automatic 3D viewport context and property validation for reliable execution.
Instructions
Run any bpy.ops operator by name with automatic 3D viewport context fallback and validation of the property names.
Call blender_list_operators first if you are unsure of the exact id or property names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator | Yes | Operator id such as 'mesh.primitive_torus_add' or 'object.shade_smooth'. | |
| area_type | No | ||
| properties | No | Operator keyword arguments, e.g. {'major_segments': 32}. Unknown keys are ignored. | |
| response_format | No | 'markdown' for readable output, 'json' for raw structured data. | json |