connect_metasound_nodes
Connects a MetaSound graph input's output to a graph output's input by name, verifying and saving the connection for signal routing.
Instructions
Connects a graph input node's output to a graph output node's input. 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 calls UMetaSoundBuilderBase::ConnectNodes and verifies via NodesAreConnected. The connection is real where the two data types match (e.g. a Float graph input connected to a Float graph output). 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, connected: bool, result: string, verified: bool, saved: bool, save_error: 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 to use as the connection target. | |
| from_node_output_name | Yes | Name of the graph INPUT to use as the connection source. |