list_develop_presets
Retrieve built-in Lightroom Classic editing presets for quick application to photos, enabling efficient batch processing and consistent styling across images.
Instructions
List built-in editing presets that can be applied in one call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main MCP tool handler function for `list_develop_presets`. It delegates the data retrieval to `list_preset_descriptions` and formats the output.
async def list_develop_presets() -> dict[str, Any]: """List built-in editing presets that can be applied in one call.""" presets = list_preset_descriptions() return { "count": len(presets), "presets": presets, - src/lightroom_mcp_custom/server.py:424-425 (registration)Registration of the `list_develop_presets` tool using the `@mcp.tool()` decorator.
@mcp.tool() async def list_develop_presets() -> dict[str, Any]: - Helper function that constructs the list of preset descriptions by accessing `DEVELOP_PRESETS` and `PRESET_DESCRIPTIONS`.
def list_preset_descriptions() -> list[dict[str, Any]]: out: list[dict[str, Any]] = [] for name in sorted(DEVELOP_PRESETS): out.append( { "preset": name, "description": PRESET_DESCRIPTIONS.get(name), "parameter_count": len(DEVELOP_PRESETS[name]), "parameters": sorted(DEVELOP_PRESETS[name]), } ) return out