photoshop_rename_layer
Rename the active Photoshop layer to a new name. Use an optional document ID to ensure the correct document is active before renaming.
Instructions
Rename the active layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New name for the 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. |