rename_symbol
Rename a symbol across files with word-boundary, string/comment-aware logic. Preview changes with dry-run or use impact_analysis to assess effects before applying.
Instructions
Execute a cross-file symbol rename (edit_transaction-based). Word-boundary, string/comment-aware. dry_run previews. To see what a rename would affect FIRST, use impact_analysis.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File where the symbol is defined (relative to workspace_dir) | |
| symbol | Yes | Current symbol name to rename | |
| dry_run | No | Preview changes without writing (default: true) | |
| new_name | Yes | New symbol name | |
| workspace_dir | Yes | REQUIRED: project root (abs). |