# editor.undo

Source: https://docs.lightair.app/developers/remote-api/editor.undo

> Undoes the last change in the Editor.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

## Parameters

None.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_undo (action: undo)` reaches this method.

## Related

- [editor.redo](https://docs.lightair.app/developers/remote-api/editor.redo.md)
