photoshop_release_clipping_mask
Release a clipping mask from the active or named layer so a clipped layer becomes independent again. Returns layer status and records one history step.
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.
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_release_clipping_mask"
}
}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. |