blender_build_shader
Build arbitrary Blender shader graphs from declarative descriptions. Use real socket names for full control, with per-node error reporting so one bad socket doesn't lose the whole graph.
Instructions
Build an arbitrary shader node graph from a declarative description.
This is the full-control path when a preset is not enough. Socket names are the real Blender ones, so anything from the manual works. Problems are reported per node rather than aborting, so one bad socket does not cost you the whole graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Material to build the graph into. | Shader |
| links | No | Connections as [from_id, from_socket, to_id, to_socket]. | |
| nodes | Yes | Node specs: {'id', 'type', 'location', 'inputs', 'properties'}. Type may be a friendly alias (noise, voronoi, ramp, bump, mix, mix_rgb, math, mapping, uv, image, fresnel, hsv, emission, add_shader, mix_shader, output). | |
| assign | No | Objects to assign to. | |
| response_format | No | 'markdown' for readable output, 'json' for raw structured data. | markdown |