Rename Code Symbol
renameLocate all definitions and references of a symbol to produce a rename impact plan, optionally applying the update to stored memory tags. Use before renaming a function, class, or variable across codebase memories.
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": {
"namespace": "<namespace>",
"symbol": "<symbol>",
"new_name": "<new_name>"
},
"name": "rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | True to update matching stored memory symbol tags. | |
| symbol | Yes | Current symbol identifier. | |
| new_name | Yes | New identifier name. | |
| namespace | Yes | Logical workspace namespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| applied | Yes | ||
| new_name | Yes | ||
| namespace | Yes | ||
| affected_files | Yes | ||
| updated_memories | No | ||
| valid_identifier | Yes | ||
| matching_memory_ids | Yes |