rename_symbol
Rename code symbols across your entire codebase to maintain consistency and improve readability. This tool updates all references to the symbol automatically.
Instructions
Renames the symbol with the given name_path to new_name throughout the entire codebase.
Note: for languages with method overloading, like Java, name_path may have to include a method's
signature to uniquely identify a method. Returns result summary indicating success or failure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_path | Yes | Name path of the symbol to rename (definitions in the `find_symbol` tool apply). | |
| relative_path | Yes | The relative path to the file containing the symbol to rename. | |
| new_name | Yes | The new name for the symbol. |