photoshop_create_layer
Adds a new empty layer above the active layer for painting, fills, or stacking content in the current Photoshop document.
Instructions
Create a new empty layer above the active layer.
Use when: user needs a blank layer for painting, fills, or stacking content. Do NOT use when: adding text — use photoshop_create_text_layer.
Returns: created layer name and context. Preconditions: active document. Side effects: adds layer to history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new layer (optional) | |
| 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. |