Skip to main content
Glama

apply_snapshot

Apply saved develop settings to photos in Lightroom Classic using snapshot IDs to restore specific editing states or replicate adjustments across images.

Instructions

Apply a develop snapshot by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
snapshot_idYes
local_idsNo

Implementation Reference

  • The apply_snapshot tool handler, which validates inputs and calls the develop.apply_snapshot method.
    @mcp.tool()
    async def apply_snapshot(
        snapshot_id: str,
        local_ids: list[int] | None = None,
    ) -> dict[str, Any]:
        """Apply a develop snapshot by its ID."""
        if not snapshot_id:
            raise ValueError("snapshot_id is required")
        ids = validate_local_ids(local_ids)
        payload: dict[str, Any] = {"snapshot_id": snapshot_id}
        if ids:
            payload["local_ids"] = ids
        return await _call("develop.apply_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