Skip to main content
Glama

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
NameRequiredDescriptionDefault
nameYes
local_idsNo

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)

Latest Blog Posts

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/4xiomdev/lightroom-classic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server