get_callers
Find resolved callers of a function or method by call edges, not text matches, to identify who calls X without grep noise from comments, strings, or same-named functions.
Instructions
Find entities that call this function — answers 'who calls X?' with resolved call edges, not text matches. Use instead of grepping for the name when you need real callers (not comments, strings, or same-named functions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| limit | No | ||
| entity_id | Yes | Entity ID whose callers to find (function, method). |