find_all_callers_recursive
Trace all direct and indirect callers of any C/C++ function across your project with BFS depth and result limits.
Instructions
Find all transitive callers — who calls name, directly or indirectly.
Returns deduplicated results with depth (shortest path length to target).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name to find transitive callers of. | |
| project_root | No | Project root. Auto-detected if omitted. | |
| max_depth | No | Maximum BFS depth for transitive search (default 5). | |
| limit | No | Maximum results (default 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |