Skip to main content
Glama

mcp-editor

undo_edit

Revert the most recent changes made to a specified file, restoring it to its previous state using the absolute file path.

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" }

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