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.
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": {
"operator": "<operator>"
},
"name": "blender_run_operator"
}
}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 |