Skip to main content
Glama

get_selected_photos

Retrieve selected photos from Lightroom Classic with IDs and metadata for editing workflows. Use this tool to access photo details and manage catalog selections programmatically.

Instructions

List selected Lightroom photos with IDs and key metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Implementation Reference

  • The get_selected_photos tool handler implemented using the @mcp.tool decorator. It validates the limit and calls the underlying catalog command.
    @mcp.tool()
    async def get_selected_photos(limit: int = 200) -> dict[str, Any]:
        """List selected Lightroom photos with IDs and key metadata."""
        limit = max(1, min(int(limit), 1000))
        return await _call("catalog.get_selected_photos", {"limit": limit})

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/4xiomdev/lightroom-classic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server