photoshop_set_layer_blend_mode
Set the blend mode of a Photoshop layer to control how it interacts with layers underneath. Provide a document ID or use the active document.
Instructions
Set the blend mode of the active layer.
COLOR is the Photoshop UI name (Colorize); it is mapped to ExtendScript BlendMode.COLORBLEND.
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": {
"blendMode": "<blendMode>",
"document_id": "<document_id>"
},
"name": "photoshop_set_layer_blend_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blendMode | Yes | Blend mode (Photoshop UI name). COLOR maps to BlendMode.COLORBLEND. DARKERCOLOR / LIGHTERCOLOR use Action Manager if the DOM enum is missing. | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |