Skip to main content
Glama

mcp-editor

undo_edit

Reverse the most recent edit made to a specified file by providing its absolute path, ensuring precise file restoration without automated writes.

Instructions

Undo the last edit to a file

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the file

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Absolute path to the file", "type": "string" } }, "required": [ "path" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-editor

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arathald/mcp-editor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server