Layer Mask
ps_maskCreate, apply, or delete Photoshop layer masks to control visibility. Use 'create from selection' to mask selected areas.
Instructions
Creates or manages layer masks. "create" adds a reveal-all mask, "create-from-selection" adds a mask from the current selection, "apply" merges the mask into the layer, "delete" removes it.
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": {
"action": "<action>"
},
"name": "ps_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Mask action to perform |