Skip to content

editor_operations

Perform editor operations: undo, redo, get/set selection, and view undo history

Category: Editor

Name Type Required Default Description
action string yes Action to perform. One of: undo, redo, get_selection, set_selection, get_undo_history
selector string U-Selector expression for set_selection (e.g. #MyObject, .Camera, /Canvas/Button)

The arguments below are the required ones; add the optional ones you need.

{
"name": "editor_operations",
"arguments": {
"action": "undo"
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "editor_operations", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/EditorOperationsTool.cs (version 1.2.1). The client receives the same schema from tools/list.