connect_shader_nodes
Connect two shader nodes in a material's node tree by specifying the source node, output socket, destination node, and input socket.
Instructions
Connect two shader nodes in a material's node tree.
Args: material_name: Name of the material. from_node: Name of the source node. from_socket: Name of the output socket on the source node. to_node: Name of the destination node. to_socket: Name of the input socket on the destination node.
Returns: Confirmation dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_name | Yes | ||
| from_node | Yes | ||
| from_socket | Yes | ||
| to_node | Yes | ||
| to_socket | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||