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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"material_name": "<material_name>",
"node_type": "<node_type>"
},
"name": "blender_material_node_add"
}
}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 |