connect_shader_nodes
Connect shader node sockets in Blender materials by specifying output and input names or indexes, simplifying node graph wiring.
Instructions
Connect an output socket to an input socket. Sockets can be specified by name or index.
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": "<material>",
"from_node": "<from_node>",
"from_output": "<from_output>",
"to_node": "<to_node>",
"to_input": "<to_input>"
},
"name": "connect_shader_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_node | Yes | ||
| material | Yes | ||
| to_input | Yes | ||
| from_node | Yes | ||
| from_output | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||