photoshop_delete_layer
Delete the active Photoshop layer; optionally specify a document ID to target the correct document and prevent UI tab switches from retargeting the edit.
Instructions
Delete the active layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |