Lineage
lineageTrace a node’s upstream and downstream dependency neighborhood within 10 steps to see where data comes from and what uses it; containment edges are excluded.
Instructions
The lineage neighborhood of a node: every node reachable within 10 steps, upstream AND downstream, along lineage/dependency edges (LINEAGE, DEPENDS_ON), e.g. a data source and the workbooks built on it. Answers "where does this come from?" and "what uses it?".
Containment (a table HAS a field, a workbook CONTAINS a sheet) is not followed, so a single
field often returns only itself; use list_edges or get_node to see what contains it.
`node` is a node id or a plain-language description. Returns the anchor node, `nodes`,
`edges` (source_id -> target_id, with type), and counts by node and edge type. For "what
breaks if this changes?", impact_analysis is more direct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| graph_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||