undo
Reverse the most recent edit in Lightroom Classic to correct mistakes or test adjustments.
Instructions
Undo the last Lightroom operation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The tool named 'undo' is registered as an MCP tool and delegates the request to the Lightroom plugin via `_call("system.undo")`.
async def undo() -> dict[str, Any]: """Undo the last Lightroom operation.""" return await _call("system.undo")