ms_validate_graph
Validate MetaSounds graph specs to catch invalid node types, pins, type mismatches, missing required inputs, and duplicate IDs before building audio graphs.
Instructions
Validate a MetaSounds graph specification.
Checks node types exist, pin names are valid, type compatibility, required inputs are connected, no duplicate IDs.
Args: graph_spec: JSON string of the graph specification
Returns: JSON with validation result: errors list (empty = valid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |