rename_everywhere
Finds every code location affected by renaming a symbol and returns exact file, line, old text, and new text edits across the import graph.
Instructions
Finds all edit locations needed to rename a symbol. Returns exact file, line, old_text, and new_text for each occurrence. Uses blast radius to find affected files across the import graph.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol_id": "<symbol_id>",
"new_name": "<new_name>"
},
"name": "rename_everywhere"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | Desired new name (must be a valid identifier) | |
| symbol_id | Yes | Symbol identifier (from search_symbols or get_file_outline results) |