create_snapshot
Save current photo editing adjustments as a named snapshot in Lightroom Classic to preserve specific development stages for comparison or reversion.
Instructions
Create a named develop snapshot for the active photo.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| local_ids | No |
Implementation Reference
- The create_snapshot tool handler, decorated with @mcp.tool(), which takes a name and optional local_ids to create a develop snapshot in Lightroom via the _call helper.
@mcp.tool() async def create_snapshot( name: str, local_ids: list[int] | None = None, ) -> dict[str, Any]: """Create a named develop snapshot for the active photo.""" if not name: raise ValueError("name is required") ids = validate_local_ids(local_ids) payload: dict[str, Any] = {"name": name} if ids: payload["local_ids"] = ids return await _call("develop.create_snapshot", payload)