disconnect_shader_nodes
Disconnects all links from a given socket on a shader node. Specify material, node, socket name, and whether it's an input or output socket.
Instructions
Disconnect all links from a specific socket on a shader node.
Args: material_name: Name of the material. node_name: Name of the node. socket_name: Name of the socket to disconnect. is_input: If True, disconnect an input socket; otherwise an output socket.
Returns: Confirmation dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_name | Yes | ||
| node_name | Yes | ||
| socket_name | Yes | ||
| is_input | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||