rename_symbol
Rename symbols across your entire codebase using Language Server Protocol to maintain consistency and avoid manual search-and-replace errors.
Instructions
Rename symbol throughout codebase using LSP.
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": {
"name_path": "<name_path>",
"relative_path": "<relative_path>",
"new_name": "<new_name>"
},
"name": "rename_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_path | Yes | ||
| relative_path | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |