set_effects
Apply shadow and blur effects to a Figma node. Specify color and offset for shadows, radius for blurs. Returns status and node ID.
Instructions
Set a node's effects. Shadows (DROP_SHADOW / INNER_SHADOW) need color + offset; blurs need radius. Returns { ok, nodeId }.
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_effects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node id to apply effects to | |
| effects | Yes | Effects to apply |