Library lineage graph
library_lineage_graphScan vault library files to extract lineage relationships and generate a lineage graph in JSON, Mermaid, or DOT. Works offline without TouchDesigner.
Instructions
Read-only, offline tool that scans the vault library (Recipes, Shaders, Presets, Components, Setlists), extracts lineage frontmatter (parent_recipe, source_assets, remix_of, forked_from), and emits a lineage graph. Output as JSON (machine-consumable), Mermaid (paste into docs), or Graphviz DOT. No TouchDesigner connection required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "library_lineage_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Categories to scan. 'all' includes every category. | |
| format | No | Output format. | json |
| max_nodes | No | Safety cap on nodes returned. | |
| cluster_by | No | Grouping for Mermaid subgraph / DOT cluster. | style_tags |
| vault_path | No | Absolute path override; falls back to TDMCP_VAULT_PATH. | |
| include_orphans | No | When false, exclude nodes with no lineage edges. |