shader_link_nodes
Connect two shader nodes in a material by specifying their names and socket names. This establishes or updates the node graph link for custom shading.
Instructions
Link two shader nodes by socket names.
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_socket": "<from_socket>",
"to_node": "<to_node>",
"to_socket": "<to_socket>"
},
"name": "shader_link_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_node | Yes | ||
| from_node | Yes | ||
| to_socket | Yes | ||
| from_socket | Yes | ||
| material_name | Yes |