get_active_photo
Retrieve the currently selected photo in Lightroom Classic for editing or workflow automation.
Instructions
Get the active Lightroom photo in the current selection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The get_active_photo tool is defined as an MCP tool using the @mcp.tool() decorator and calls the underlying Lightroom bridge command 'catalog.get_active_photo'.
@mcp.tool() async def get_active_photo() -> dict[str, Any]: """Get the active Lightroom photo in the current selection.""" return await _call("catalog.get_active_photo")