range_mask
range_maskCreates a luminance range mask from a stretched gray copy, with low/high thresholds, fuzziness, smoothness, and invert options to isolate brightness ranges for targeted adjustments.
Instructions
Luminance range mask (RangeSelection on a stretched gray copy): low/high 0..1, fuzziness, smoothness, invert. Returns mask_id (new view).
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": {
"id": "<id>"
},
"name": "range_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| low | No | ||
| high | No | ||
| invert | No | ||
| mask_id | No | ||
| stretch | No | ||
| fuzziness | No | ||
| smoothness | No |