prepareRename
Validates rename feasibility for a symbol at a file location, returning false with reason if rename is blocked. Run before attempting to rename.
Instructions
Check if symbol can be renamed. Returns canRename:false with reason if not. Use before renameSymbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute path | |
| line | Yes | 1-based line number | |
| column | Yes | 1-based column number |