Skip to main content
Glama

send_raw_lightroom_command

Send custom commands to Adobe Lightroom Classic for advanced automation, debugging, and direct plugin control.

Instructions

Send a raw command to the plugin (advanced/debug use).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
paramsNo

Implementation Reference

  • The handler function implementation for the tool 'send_raw_lightroom_command', which calls the internal '_call' method to forward commands to the Lightroom bridge.
    async def send_raw_lightroom_command(command: str, params: dict[str, Any] | None = None) -> dict[str, Any]:
        """Send a raw command to the plugin (advanced/debug use)."""
        if not command:
            raise ValueError("command is required")
        return await _call(command, params or {})
  • The @mcp.tool decorator registers 'send_raw_lightroom_command' as a tool for the MCP server.
    @mcp.tool()
    async def send_raw_lightroom_command(command: str, params: dict[str, Any] | None = None) -> dict[str, Any]:

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