photoshop_duplicate_layer
Duplicate the active Photoshop layer and make the copy active, then receive its name and layer ID for further editing.
Instructions
Duplicate the active layer. The duplicate becomes the active layer; returns its name and, when available, its layer id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Name for the duplicated 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. |