Skip to content

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.

Capabilitycode.redo_refactoring
AreaCode insight and refactoring
Accesschanges files
Reaches—
Rightswrite
Dry runnone

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.

Terminal window
ferris-idea call ~/my-project redo_refactoring
Input schema as JSON
{
"type": "object",
"properties": {}
}