call_operator
Execute any Blender operator (bpy.ops) with custom parameters and execution context, enabling full control of Blender's actions.
Instructions
Call any Blender operator (100% bpy.ops surface).
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": {
"idname": "<idname>"
},
"name": "call_operator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idname | Yes | ||
| params | No | ||
| execution_context | No | EXEC_DEFAULT | |
| use_view3d_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |