who_calls
Find every caller of a function in a repository by combining AST-based call graph analysis with fallback regex for dynamic dispatch patterns.
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 |
|---|---|---|---|
| function_name | Yes | ||
| repo_path | No |