photoshop_release_clipping_mask
Remove a clipping mask from the active or named layer, making the clipped layer independent again. Returns confirmation with layer name and updated clipping state.
Instructions
Release (remove) the clipping mask from the active layer (or a named layer).
Users often say: unclip, release clipping mask, remove clipping mask.
Use when: a clipped layer should become independent again. Do NOT use when: the layer is not clipped — returns not_clipping error.
Returns: JSON { ok, summary, details: { layer_name, is_clipping: false } }. Preconditions: active document; target layer must currently be a clipping mask (grouped). Side effects: sets layer.grouped = false; one history step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | No | Optional exact layer name (recursive search). Default: active layer. | |
| 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. |