redo_refactoring
MCP tools › Code insight and refactoring
Redo the refactoring undo_refactoring took back last, in all files it changed at once, as ⇧⌘Z does in an editor. Refuses, changing nothing, when one of those files changed since the undo, and names it; a refactoring applied after the undo ends redo. Every file is recorded in the local history under "Redo <name>". Returns the refactoring's name and files.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | code.redo_refactoring |
|---|---|
| Area | Code insight and refactoring |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | none |
Arguments
No arguments.
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project redo_refactoringInput schema as JSON
{ "type": "object", "properties": {}}