Get Move To Refactoring File Suggestions
getMoveToRefactoringFileSuggestionsSuggests target files and new file names when moving a symbol, helping you choose the best destination before executing the move.
Instructions
Get suggested target files when moving a symbol to another file. Returns both a suggested new file name and existing files that would be good destinations. Use this before moveSymbol to choose the best target location.
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": {
"file": "<file>",
"startLine": "<startLine>",
"startOffset": "<startOffset>",
"endLine": "<endLine>",
"endOffset": "<endOffset>"
},
"name": "getMoveToRefactoringFileSuggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| endLine | Yes | 1-based end line | |
| endOffset | Yes | 1-based end column | |
| startLine | Yes | 1-based start line | |
| startOffset | Yes | 1-based start column |