blender_set_material
Apply a PBR material to an object with Principled BSDF, configuring base color, metallic, roughness, and optional emission to control surface appearance.
Instructions
Apply a PBR material to an object using Principled BSDF.
Creates or updates a material with the given base color, metallic, roughness, and optional emission. Assigns it to the first material slot of the object.
Args: params: SetMaterialInput with object_name, color (RGBA), metallic, roughness, optional material_name, and optional emission.
Returns: JSON with the material name and applied properties.
Example: blender_set_material(object_name="Cube", color=(0.2, 0.4, 0.8, 1.0), metallic=0.9)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |