list_snapshots
Retrieve develop snapshots for active photos in Lightroom Classic to review and manage editing history.
Instructions
List develop snapshots for the active photo.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_ids | No |
Implementation Reference
- The tool `list_snapshots` is implemented as an async function decorated with `@mcp.tool()`, which validates input IDs and calls the internal `_call` helper to communicate with the Lightroom plugin.
@mcp.tool() async def list_snapshots(local_ids: list[int] | None = None) -> dict[str, Any]: """List develop snapshots for the active photo.""" ids = validate_local_ids(local_ids) payload: dict[str, Any] = {} if ids: payload["local_ids"] = ids return await _call("develop.list_snapshots", payload)