blender_material_node_add
Add shader nodes to a material's node tree, supporting any Blender node type with optional location and input defaults.
Instructions
Add a shader node to a material's node tree. Supports any Blender node type (e.g. ShaderNodeTexNoise, ShaderNodeMixRGB, ShaderNodeBump, ShaderNodeMapping, ShaderNodeNormalMap, ShaderNodeValToRGB, etc.). Optionally set location and input default values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the node | |
| inputs | No | Object mapping input socket names to default values. Scalar inputs use a number, vector/color inputs use an array. | |
| location | No | Node location [x, y] in the node editor | |
| node_type | Yes | Blender node type identifier (e.g. 'ShaderNodeTexNoise', 'ShaderNodeBump') | |
| material_name | Yes | Name of the material |