who_calls
Retrieve all callers of a given function across a repository, using an AST-indexed call graph with a fallback to dynamic dispatch pattern matching.
Instructions
Return every caller of a function across the indexed repo.
First searches the call graph (AST-indexed edges). If empty, falls back to string-literal grep for dynamic dispatch patterns (APScheduler add_job, Django signals, Flask routes, Celery tasks, etc.). Dynamic hits are labelled with found_via=dynamic_dispatch_fallback. Do NOT call if you already know the callers. Expensive on large graphs.
repo_path: optional absolute path to the target repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | ||
| function_name | Yes |