next_hop
Walk dbt lineage one real edge at a time, returning only existing neighbours ranked by relevance to your goal. Use it to explore upstream or downstream without guessing IDs.
Instructions
Walk the lineage one real edge at a time: returns only neighbours that exist in the graph, ranked by relevance to your goal. Prefer this over guessing ids.
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": {
"ref": "<ref>",
"direction": "<direction>"
},
"name": "next_hop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | column id 'table.column', table name, or exposure (dashboard) name | |
| goal | No | what you are looking for, used to rank neighbours | |
| limit | No | ||
| direction | Yes |