add_effect
Apply filters or layer styles (shadow, stroke, glow) to one layer. Filters apply before the mask; styles after, enabling non-destructive edits.
Instructions
Filter or layer style on one layer (filters before the mask, styles after: shadow, stroke, glow).
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": {
"type": "<type>",
"layer": "<layer>"
},
"name": "add_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| index | No | ||
| layer | Yes | ||
| params | No | ||
| project | No |