sharpen
Apply an unsharp mask to a GIMP layer with amount, radius, and threshold controls to enhance edge detail on a specified or active layer.
Instructions
Sharpen a layer using unsharp mask.
Parameters:
amount: Sharpening strength 0-500 (default 50.0)
radius: Blur radius for the mask in pixels (default 3.0)
threshold: Minimum difference before sharpening is applied (default 0)
image_index: Target image index (default 0)
layer_name: Layer to sharpen; defaults to active layer
Returns status dict.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sharpen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| radius | No | ||
| threshold | No | ||
| layer_name | No | ||
| image_index | No |