create_material
Creates or replaces a PBR material in Blender using Principled BSDF, with parameters for base color, metallic, roughness, emission, alpha, and optional assignment to an object.
Instructions
Create (or replace) a PBR material using Principled BSDF.
Parameters:
name: Material name
base_color: Comma-separated r,g,b in 0..1 (default "0.8,0.8,0.8")
metallic: 0.0 (dielectric) to 1.0 (fully metallic)
roughness: 0.0 (mirror) to 1.0 (fully rough)
emission_color: Comma-separated r,g,b to enable glow (e.g. "1,0.5,0")
emission_strength: Emission multiplier (default 1.0)
alpha: Opacity 0..1 (values < 1 enable alpha blending)
assign_to: Object name to auto-assign this material to (slot 0)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| base_color | No | 0.8,0.8,0.8 | |
| metallic | No | ||
| roughness | No | ||
| emission_color | No | ||
| emission_strength | No | ||
| alpha | No | ||
| assign_to | No |