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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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)