get_call_hierarchy_incoming
Find all callers of a method to assess impact before refactoring. Prevents breaking changes by revealing dependencies.
Instructions
Find all callers of a method (incoming calls).
USAGE: Position cursor on a method name OUTPUT: List of methods that call this method
IMPORTANT: Uses ZERO-BASED coordinates.
Useful for understanding who depends on a method before changing it.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to source file | |
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| maxResults | No | Max callers to return (default 50) |