adobe_apply_mask
Apply a retained named path as a Photoshop layer mask or Illustrator clipping group, so existing layer content can be shaped without redrawing the path.
Instructions
Apply a retained named path as a PS layer mask or Illustrator clipping group.
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": {
"application": "<application>",
"session_id": "<session_id>",
"layer_path": "<layer_path>",
"expected_name": "<expected_name>",
"path_name": "<path_name>"
},
"name": "adobe_apply_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path_name | Yes | ||
| layer_path | Yes | ||
| session_id | Yes | ||
| application | Yes | ||
| expected_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | Yes | ||
| document | Yes | ||
| retry_safe | Yes | ||
| session_id | Yes | ||
| operation_id | Yes | ||
| source_sha256 | Yes |