photoshop_set_layer_opacity
Set the opacity of the active layer in Adobe Photoshop from 0 to 100. Optionally target a specific document by ID so the edit stays on the intended file.
Instructions
Set the opacity of the active layer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opacity": "<opacity>"
},
"name": "photoshop_set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | Opacity value (0-100) | |
| 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. |