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
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes | ||
| local_ids | No |
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)