rename_symbol
Rename a symbol across the codebase using compiler-grade analysis, targeting only true references while ignoring unrelated same-named symbols. Preview changes before applying.
Instructions
Rename a symbol everywhere, using the compiler's own understanding rather than text replacement — so it renames the right things and leaves unrelated same-named symbols alone. Defaults to a dry run showing what would change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Current symbol name | |
| apply | No | Write the changes. Omit or false to preview only. | |
| new_name | Yes | New name |