Skip to main content
Glama

delete_snapshot

Remove unwanted develop snapshots from Lightroom Classic to manage photo editing history and optimize catalog organization by specifying snapshot IDs.

Instructions

Delete a develop snapshot by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
snapshot_idYes
local_idsNo

Implementation Reference

  • The `delete_snapshot` tool handler, which validates the snapshot ID and calls the underlying `develop.delete_snapshot` Lightroom method.
    async def delete_snapshot(
        snapshot_id: str,
        local_ids: list[int] | None = None,
    ) -> dict[str, Any]:
        """Delete 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.delete_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