dbt-graph
Trace dbt lineage by walking parent and child maps to return upstream and downstream nodes up to a configurable depth.
Instructions
Walk dbt parent_map / child_map to return upstream and downstream nodes (model/source/test) up to a given depth
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": "dbt-graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Model name (resolved if uniqueId not provided) | |
| uniqueId | No | dbt unique_id | |
| extractFields | No | Comma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response tokens dramatically on large entities. | |
| upstreamDepth | No | ||
| downstreamDepth | No |