find_callers
Identify all functions that call a given function to map dependencies, assess refactoring impact, and understand code flow.
Instructions
š Find all functions that call the specified function.
šÆ PURPOSE: Identifies the call hierarchy - which functions depend on the target function, essential for understanding code dependencies. š§ USAGE: Use when analyzing function dependencies, planning refactoring, or understanding code flow patterns. ā” PERFORMANCE: Fast operation (1-2s) - uses pre-built call graph for efficient traversal. š WORKFLOW: find_definition ā find_callers ā analyze call patterns ā find_callees for complete dependency picture. š” TIP: Crucial for refactoring - shows all functions that would break if you change the target function's signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | Function name to find callers for (supports method names with class context) |