apply_lightroom_preset
Apply Lightroom develop presets to photos using preset UUIDs to automate photo editing workflows and enhance images consistently.
Instructions
Apply a Lightroom develop preset by its UUID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_uuid | Yes | ||
| local_ids | No |
Implementation Reference
- The MCP tool definition and handler for 'apply_lightroom_preset'. It is decorated with @mcp.tool() and uses the _call helper to communicate with the Lightroom bridge.
@mcp.tool() async def apply_lightroom_preset( preset_uuid: str, local_ids: list[int] | None = None, ) -> dict[str, Any]: """Apply a Lightroom develop preset by its UUID.""" if not preset_uuid: raise ValueError("preset_uuid is required") ids = validate_local_ids(local_ids) payload: dict[str, Any] = {"uuid": preset_uuid} if ids: payload["local_ids"] = ids return await _call("develop.apply_lr_preset", payload)