execute_blender_code
Runs trusted Python code on Blender's main thread for a session confirmed by blender_health, enabling scene automation, inspection, and rendering.
Instructions
Run trusted Python on Blender's main thread for the session confirmed by blender_health.
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>",
"expected_session": "<expected_session>"
},
"name": "execute_blender_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No | ||
| expected_session | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||