blender_execute_bpy
Execute custom Blender Python (bpy) scripts with error handling and return value capture.
Instructions
Directly runs custom Blender Python (bpy) scripts with full error containment and return value capture.
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": {
"code": "<code>"
},
"name": "blender_execute_bpy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python script utilizing the bpy API |