ms_graph_from_template
Generate a complete MetaSounds graph specification from an auto-discovered template, overriding defaults with JSON parameters.
Instructions
Generate a complete graph spec from a template.
Templates are auto-discovered from the metasounds template directory.
Args: template_name: Template name (e.g. "gunshot", "footsteps") params: JSON string of template parameters (overrides defaults)
Returns: JSON with the complete graph specification ready for validation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"template_name": "<template_name>"
},
"name": "ms_graph_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | {} | |
| template_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |