refactorAnalyze
Analyzes refactoring impact by evaluating rename safety, reference and caller counts, and risk level before performing a symbol rename.
Instructions
Refactor impact: rename safety, ref/caller counts, risk level (low/medium/high). Use before renameSymbol.
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>"
},
"name": "refactorAnalyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-based) | |
| column | Yes | Column (1-based) | |
| filePath | Yes | Workspace or absolute path |