who_calls
Discover every caller of a function in the indexed repository using the AST-indexed call graph, with dynamic dispatch fallback for pattern-based invocations.
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 |