photoshop_set_layer_visibility
Show or hide the active Photoshop layer by setting its visibility. Target a specific document so a UI tab switch cannot retarget the edit.
Instructions
Show or hide the active layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | Whether the layer should be visible | |
| 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. |