remove_metasound_node
Removes a node from a MetaSound Source graph using its node_id GUID, saving the asset. Idempotent: if the node is absent, it returns without error.
Instructions
Removes a node from a MetaSound Source graph by its node_id GUID (inverse of metasound_add_node_by_classname). Parses the node_id into a node handle and queries ContainsNode first: if the node is already absent it returns already_absent without error (idempotent), otherwise it calls UMetaSoundBuilderBase::RemoveNode (pruning unused dependencies) and reports the result. Saves the asset.
Returns: { asset_path: string, node_id: string, removed: bool, already_absent: bool, saved: bool, save_error: string?, note: string? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | GUID of the node to remove (from metasound_add_node_by_classname). | |
| metasound_path | Yes | Asset path of the MetaSound Source. |