set_develop_group
Apply partial updates to specific develop parameter groups in Lightroom Classic for targeted photo adjustments.
Instructions
Apply a partial update to one develop parameter group.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | ||
| values | Yes | ||
| local_ids | No | ||
| strict | No | ||
| clamp | No | ||
| history_name | No |
Implementation Reference
- The implementation of the set_develop_group tool handler.
async def set_develop_group( group: str, values: dict[str, Any], local_ids: list[int] | None = None, strict: bool = False, clamp: bool = True, history_name: str | None = None, ) -> dict[str, Any]: """Apply a partial update to one develop parameter group.""" canonical, scoped_values = validate_group_values(group, values) response = await _apply_validated_settings( scoped_values, local_ids=local_ids, strict=strict, clamp=clamp, history_name=history_name or f"MCP Group: {canonical}", ) response["group"] = canonical return response - src/lightroom_mcp_custom/server.py:402-402 (registration)Registration of the set_develop_group tool via @mcp.tool() decorator.
@mcp.tool()