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
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| params | No |
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 {}) - src/lightroom_mcp_custom/server.py:937-938 (registration)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]: