shader_add_node
Add a shader node to a Blender material by specifying the material and node type, with optional position coordinates for custom node layouts.
Instructions
Add node e.g. ShaderNodeTexImage, ShaderNodeNormalMap, ShaderNodeSeparateColor to material.
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": "shader_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_type | Yes | ||
| location_x | No | ||
| location_y | No | ||
| material_name | Yes |