blender_manage_material
Create, edit, assign, duplicate, or delete materials while controlling PBR properties like base color, metallic, and roughness.
Instructions
Create, edit, assign, duplicate, or delete materials. For high-level PBR property editing only. The 'delete' action is destructive and irreversible.
Use this when: you need to create/configure materials or assign them to objects.
Do NOT use for: node-level shader editing (use blender_edit_nodes with tree_type=SHADER).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The material operation. | |
| name | Yes | Material name. | |
| base_color | No | Base color [r,g,b,a] range 0-1. | |
| metallic | No | Metallic value 0-1. 0=dielectric, 1=full metal. | |
| roughness | No | Roughness value 0-1. 0=mirror, 1=diffuse. | |
| specular | No | Specular value 0-1. | |
| alpha | No | Alpha value 0-1. | |
| emission_color | No | Emission color [r,g,b,a]. | |
| emission_strength | No | Emission strength. | |
| use_fake_user | No | Prevent auto-deletion when unused. | |
| object_name | No | Object name for assign/unassign. | |
| slot | No | Material slot index (0-based). |