Find descendants
codetopo_descendantsWalk a code graph from a starting node to list all nodes transitively reachable through call and import edges.
Instructions
Nodes transitively reachable from a node over calls and imports edges.
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": {
"db_path": "<db_path>",
"node": "<node>"
},
"name": "codetopo_descendants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node id to walk down 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. |