rename_symbol
Rename a symbol across your repository with a safe two-phase process: preview changes as a diff, then confirm with a token to apply.
Instructions
Rename a symbol across the entire repository. Phase 1: returns diff + token. Phase 2: confirm with token to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File where symbol is defined | |
| projectRoot | Yes | Project root (REQUIRED) | |
| oldName | Yes | Current name | |
| newName | Yes | New name | |
| rootDir | No | Repository root (optional) | |
| confirm | No | Set true to apply a pending operation | |
| confirmationToken | No | Token from Phase 1 dry-run |