create_shader_node
Creates a new shader node in a Blender material's node tree, letting you set node type, label, position, and input settings for material edits.
Instructions
Create a new shader node in a material's node tree.
Parameters:
material_name: Name of the material
node_type: Blender shader node type (e.g. "ShaderNodeTexNoise", "ShaderNodeMixShader", "ShaderNodeBump")
name: Optional name/label for the node
location: Optional [x, y] position in the node editor
settings: Optional JSON string of node settings (input default values and node properties)
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": "create_shader_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| location | No | ||
| settings | No | ||
| node_type | Yes | ||
| material_name | Yes |