photoshop_apply_sharpen
Sharpen a single raster layer in Photoshop by applying an Unsharp Mask with amount, radius, and threshold values. Use for layer-level sharpening, not web export or high-pass overlays.
Instructions
Apply Unsharp Mask to the active raster layer (amount, radius, threshold). This is a pixel filter on one layer, not a web-export sharpen pass.
Use when: sharpening one layer in the open document. Do NOT use when: preparing a file for the web — use photoshop_recipe_prepare_for_web. Do NOT use when: you want edge extraction for an overlay sharpen — use photoshop_apply_high_pass.
Returns: the amount, radius, and threshold applied. Preconditions: active document and a normal raster layer. Text and Smart Objects are rasterized first, which drops live type and smart-object edits. Side effects: changes pixels in one history step. Reversible with photoshop_undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Sharpening amount in percent (1-500) | |
| radius | Yes | Radius in pixels (0.1-250) | |
| threshold | No | Threshold levels (0-255) | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |