blender_material_node_connect
Link material shader nodes by specifying source and destination sockets. Build or modify Blender material graphs with direct node-to-node connections.
Instructions
Connect two nodes in a material's shader graph via their socket names. Creates a link from an output socket on one node to an input socket on another.
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>",
"from_node": "<from_node>",
"from_output": "<from_output>",
"to_node": "<to_node>",
"to_input": "<to_input>"
},
"name": "blender_material_node_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_node | Yes | Name of the destination node | |
| to_input | Yes | Name of the input socket on the destination node | |
| from_node | Yes | Name of the source node | |
| from_output | Yes | Name of the output socket on the source node | |
| material_name | Yes | Name of the material |