roslyn:analyze_change_impact
Analyze breaking changes before modifying a symbol. Specify file path, zero-based line and column, and change type to see impacted locations and safety status.
Instructions
Analyze what would break if you change a symbol. Identifies breaking changes before you make them.
USAGE: analyze_change_impact(filePath, line, column, changeType="rename|changeType|addParameter|removeParameter") OUTPUT: List of impacted locations, whether change is safe, and specific issues at each location. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).
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": {
"filePath": "<filePath>",
"line": "<line>",
"column": "<column>",
"changeType": "<changeType>"
},
"name": "roslyn:analyze_change_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Zero-based line number of the symbol | |
| column | Yes | Zero-based column number | |
| filePath | Yes | Absolute path to source file | |
| newValue | No | Optional: new value for rename/changeType | |
| changeType | Yes | Type of change: rename, changeType, addParameter, removeParameter, changeAccessibility, delete |