disconnect_material_expressions
Disconnect a material expression input in Unreal Engine, reversing a connection. Idempotent: returns success if already disconnected.
Instructions
Disconnect an input of a material expression (inverse of connect_material_expressions). Idempotent: an input that is already disconnected returns already_disconnected=true (still success — the expression exists, there simply was no connection to break).
Returns: { material_path: string, to_expression_name: string, to_input_name: string, disconnected: bool, already_disconnected: bool, success: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes | Full path to the material (e.g., '/Game/Materials/MyMaterial.MyMaterial') | |
| to_input_name | Yes | Name of the input pin to disconnect (empty = first input) | |
| to_expression_name | Yes | Name of the destination material expression whose input is disconnected |