apply_local_adjustment_settings
Adjust specific areas of photos in Lightroom Classic by modifying exposure, contrast, and clarity settings on active masks for targeted editing.
Instructions
Set local_* adjustment parameters on the currently active mask.
Settings dict uses local_* parameter names, e.g.: {"local_Exposure": 1.5, "local_Contrast": 25, "local_Clarity": 40} A mask must be active (selected) first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"settings": "<settings>"
},
"name": "apply_local_adjustment_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The implementation of the apply_local_adjustment_settings tool which acts as a wrapper around the masks.set_local_settings call.
@mcp.tool() async def apply_local_adjustment_settings(settings: dict[str, Any]) -> dict[str, Any]: """Set local_* adjustment parameters on the currently active mask. Settings dict uses local_* parameter names, e.g.: {"local_Exposure": 1.5, "local_Contrast": 25, "local_Clarity": 40} A mask must be active (selected) first. """ if not settings: raise ValueError("settings dict is required") return await _call("masks.set_local_settings", {"settings": settings})