rename
Update a symbol's identifier across the entire project using language-server references. Preview changes as file:line list, then apply edits to disk.
Instructions
Semantically rename the symbol at a 0-based position across the whole project (language-server rename — updates every reference, never a text sed). Default is a PREVIEW returning the affected file:line list; pass apply=true to write the edits to disk. Use this instead of editing call sites by hand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Source file containing the symbol. | |
| line | Yes | 0-based line of the symbol. | |
| character | Yes | 0-based character/column of the symbol. | |
| newName | Yes | New name for the symbol. | |
| apply | No | Write the edits to disk (default false = preview only). | |
| projectPath | No | ||
| backend | No | ||
| maxResults | No |