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.
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>",
"node_name": "<node_name>",
"socket_name": "<socket_name>"
},
"name": "disconnect_shader_nodes"
}
}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 | |||