disconnect_shader_nodes
Disconnects all links from a specific input or output socket of a shader node in a material. Use to remove socket connections in Blender materials.
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 |
|---|---|---|---|
| is_input | No | ||
| node_name | Yes | ||
| socket_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||