set_effect
Apply drop shadow, inner shadow, layer blur, or background blur to a Figma node. Overwrite existing effects with REPLACE mode or add new ones with APPEND to build layered styling.
Instructions
Apply effects (drop shadow, inner shadow, layer blur, background blur) to a node. Use mode REPLACE (default) to overwrite all effects, or APPEND to add to existing ones.
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": {
"nodeId": "<nodeId>",
"effects": "<effects>"
},
"name": "set_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | REPLACE overwrites all existing effects (default). APPEND adds to the existing effects array. | REPLACE |
| nodeId | Yes | Figma node ID | |
| effects | Yes | One or more effects to apply |