photoshop_apply_layer_style
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).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| style | string | — | Which effect to apply |
| red | number | — | Effect color red (0-255) |
| green | number | — | Effect color green (0-255) |
| blue | number | — | Effect color blue (0-255) |
| opacity | number | — | Effect opacity (0-100) |
| size | number | — | Blur/size in pixels (stroke width for stroke) |
| distance | number | — | Offset distance in pixels (drop shadow only) |
| angle | number | — | Light angle in degrees (drop shadow / bevel) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe