execute_blender_code
Execute Python code inside Blender to automate 3D tasks such as modeling, shading, lighting, animation, and rendering when script permissions allow.
Instructions
Execute Python code inside Blender when script permissions allow it.
Warning: this is not a secure sandbox. It can access files, network, and
system capabilities available to the Blender process.
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": "execute_blender_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No | ||
| confirmed | No | ||
| preview_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||