check_rename
Detects naming conflicts before renaming a symbol by scanning its file and all importing files for existing symbols with the target name, ensuring safe refactoring.
Instructions
Pre-rename collision detection: checks the symbol's own file and all importing files for existing symbols with the target name. Use before apply_rename to verify safety. Read-only (does not modify files). Returns JSON: { safe, conflicts: [{ symbol_id, name, file }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | Yes | Symbol ID to rename | |
| target_name | Yes | Proposed new name |