disconnect_material_expression
Disconnect a specified input pin from a material expression node to isolate or restructure material graph connections in Unreal Engine.
Instructions
Disconnect a specific input pin on a material expression node.
Args: node_index: The target node whose input pin will be disconnected input_pin: Name of the input pin to disconnect
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_path": "<material_path>",
"node_index": "<node_index>",
"input_pin": "<input_pin>"
},
"name": "disconnect_material_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_pin | Yes | ||
| node_index | Yes | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |