evaluate_blender_expression
Evaluate a Python expression inside Blender and receive its repr. Use this for quick data lookups, such as checking object counts or scene properties, without writing a full script.
Instructions
Evaluate one Python expression in Blender and return its repr.
A quick lookup that does not need a whole script.
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": {
"expression": "<expression>"
},
"name": "evaluate_blender_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | A single Python expression, e.g. len(bpy.data.objects) |