blender_material_preview_render
Render a material preview on a chosen shape (sphere, cube, plane, or cylinder) using EEVEE or Cycles, and return the output image path.
Instructions
Render a material preview on a standard shape. Creates a temporary scene with the chosen shape, assigns the material, renders it, and returns the output path.
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": {
"material_name": "<material_name>"
},
"name": "blender_material_preview_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Render engine (default: EEVEE) | |
| resolution | No | Render resolution in pixels, used for both width and height (default: 512) | |
| output_path | No | Output file path (default: /tmp/material_preview_<name>.png) | |
| material_name | Yes | Name of the material to preview | |
| preview_shape | No | Shape to render the material on (default: SPHERE) |