disconnect_metasound_nodes
Remove an existing connection between a MetaSound graph input node and output node by name, report if already absent, then save the asset.
Instructions
Disconnects a graph input node's output from a graph output node's input (inverse of connect_metasound_nodes). Resolves the source handle from a graph INPUT node by name (FindGraphInputNode -> the input node's output handle) and the destination handle from a graph OUTPUT node by name (FindGraphOutputNode -> the output node's input handle), then queries NodesAreConnected first: if the edge is already absent it returns already_disconnected without error (idempotent), otherwise it calls UMetaSoundBuilderBase::DisconnectNodes and reports the result. Saves the asset.
Returns: { asset_path: string, from_node_output_name: string, to_node_input_name: string, from_data_type: string, to_data_type: string, disconnected: bool, already_disconnected: bool, result: string, saved: bool, save_error: string?, note: string? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metasound_path | Yes | Asset path of the MetaSound Source. | |
| to_node_input_name | Yes | Name of the graph OUTPUT whose input is the connection target. | |
| from_node_output_name | Yes | Name of the graph INPUT whose output is the connection source. |