renamePreview
See every object and line a rename would modify before agreeing, including dependencies beyond your open files.
Instructions
Second step of a rename: every object and line the rename would touch, from the evaluation you pass back in. Read this before agreeing - a rename reaches objects you did not open, and the preview is the only place that shows how far it goes.
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": {
"renameRefactoring": "<renameRefactoring>"
},
"name": "renamePreview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport | No | The transport. | |
| renameRefactoring | Yes | The rename refactoring proposal. |