Find ancestors
codetopo_ancestorsFind which nodes transitively reach a given node via calls and imports to trace code dependencies and callers.
Instructions
Nodes from which a node is transitively reachable over calls and imports edges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node id to walk up from. | |
| limit | No | Maximum members to return. Default 20. | |
| expand | No | Return full node objects instead of ids. Default false. | |
| db_path | Yes | Path to the index database. |