set_fill
Apply fills to Figma nodes with support for solid, gradient, and multiple fill types. Specify color, opacity, or gradient stops to update node styling.
Instructions
Set fill on a node. Supports solid, linear gradient, radial gradient, and multiple fills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Fill type (default: SOLID) | |
| color | No | Solid fill hex color | |
| fills | No | Array of fill objects for multiple fills | |
| nodeId | Yes | Target node ID | |
| opacity | No | Fill opacity 0-1 | |
| gradient | No | { angle, stops: [{ position: 0-1, color: "#hex" }] } |