photoshop_apply_layer_style
Apply drop shadow, outer glow, stroke, or bevel and emboss effects to the active Photoshop layer for quick card, button, mockup, and text presentation styling.
Instructions
Apply a layer style (drop shadow, outer glow, stroke, bevel & emboss) to the active layer via Action Manager layer effects.
Users often say: add shadow, glow effect, outline this layer, stroke, bevel, 3D button look, katmana gölge ver.
Use when: quick presentational effects on the active layer (cards, buttons, mockups, text pop). Do NOT use when: you need full custom layer-effects control — use photoshop_execute_script with a custom layerEffects descriptor.
Returns: JSON { ok, summary, details: { style, layer_name } }.
Preconditions: active document with an active pixel/text layer. Side effects: sets the chosen effect on the active layer. Drop shadow uses the given angle (Use Global Light is off).
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": "photoshop_apply_layer_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | No | Effect color red (0-255) | |
| blue | No | Effect color blue (0-255) | |
| size | No | Blur/size in pixels (stroke width for stroke) | |
| angle | No | Light angle in degrees (drop shadow / bevel) | |
| green | No | Effect color green (0-255) | |
| style | No | Which effect to apply | drop_shadow |
| opacity | No | Effect opacity (0-100) | |
| distance | No | Offset distance in pixels (drop shadow only) | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |