select_mask
Select an existing mask in Lightroom Classic by its numeric ID to apply targeted adjustments to specific areas of a photo.
Instructions
Select an existing mask by its numeric ID.
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": {
"mask_id": "<mask_id>"
},
"name": "select_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The 'select_mask' tool handler, registered with @mcp.tool(), which selects an existing mask by its numeric ID.
@mcp.tool() async def select_mask(mask_id: int) -> dict[str, Any]: """Select an existing mask by its numeric ID.""" return await _call("masks.select_mask", {"mask_id": mask_id})