analyze_change_impact
Analyze the blast radius of changing a symbol: find affected files and call sites, with optional transitive closure.
Instructions
Analyze the blast radius of changing a symbol.
USAGE: analyze_change_impact(filePath="path/to/File.java", line=10, column=5) OUTPUT: All files and call sites affected, grouped by file
Options:
depth: How many levels of callers to follow (default 1, max 3) depth=1: direct references only depth=2: references + callers of those references depth=3: three levels deep
transitive: full reverse closure over the project call graph (default false). No depth ceiling; follows calls, instantiations, field accesses, and override declarations (callers through an interface or superclass count). Returns affectedMethods + affectedFiles instead of callSites. Supports project methods, fields, and types.
maxResults: cap on affectedMethods in transitive mode (default 200)
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File containing the symbol | |
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| depth | No | Levels of transitive callers to follow (default 1, max 3) | |
| transitive | No | Full reverse closure over the project graph, no depth ceiling (default false) | |
| maxResults | No | Cap on affectedMethods in transitive mode (default 200) |