rename_symbol
Rename TypeScript symbols (variables, functions, classes) across your entire codebase to maintain consistency and update references automatically.
Instructions
Rename a TypeScript symbol (variable, function, class, etc.) across the codebase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Root directory for resolving relative paths | |
| filePath | Yes | File path (relative to root) | |
| line | Yes | Line number (1-based) or string to match in the line | |
| oldName | Yes | Current name of the symbol | |
| newName | Yes | New name for the symbol |