analyze_impact
Predicts the blast radius of renaming a symbol with AST analysis, finding legitimate references across the codebase so you can assess dependencies and prevent breaking changes before refactoring.
Instructions
Predict the blast radius of renaming a symbol. Uses AST analysis (not text search) to find all legitimate references across the codebase. Use before refactoring to understand dependencies and prevent breaking changes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"filePath": "<filePath>",
"symbolName": "<symbolName>"
},
"name": "analyze_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Line number where the symbol is defined (optional) | |
| path | Yes | Root path of the repository | |
| filePath | Yes | Path to the file containing the symbol to analyze | |
| symbolName | Yes | Name of the variable/function to analyze |