add_shader_node
Add a shader node to a material's node tree. Specify material name, node type, and optional location to extend shader networks.
Instructions
Add a shader node to a material's node tree.
Args: material_name: Name of the material. node_type: Blender shader node type (e.g. ShaderNodeBsdfPrincipled). location: Node location as [x, y], default [0, 0].
Returns: Dict with material, node_name, and node_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | ||
| node_type | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||