blender_execute_python
Run Python scripts directly in Blender to automate tasks or modify 3D scenes. Use with caution as it can alter the scene.
Instructions
Execute Python code in Blender.
Note: Use with caution as this may modify the scene or perform dangerous operations.
Args: params: Python code and timeout
Returns: Execution result
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": {
"params": "<params>"
},
"name": "blender_execute_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |