find_photo_by_path
Locate a specific photo in your Lightroom Classic catalog using its absolute file path to access and manage images directly.
Instructions
Find one Lightroom catalog photo by absolute file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler for the find_photo_by_path tool, which calls the underlying catalog API.
@mcp.tool() async def find_photo_by_path(path: str) -> dict[str, Any]: """Find one Lightroom catalog photo by absolute file path.""" if not path: raise ValueError("path is required") return await _call("catalog.find_photo_by_path", {"path": path})