set_fills
Apply solid or gradient fills to a Figma node using color, stops, and transform parameters. Returns ok with node ID.
Instructions
Set a node's fills. SOLID: { type:'SOLID', color:{r,g,b} } (0–1). Gradient: { type:'GRADIENT_LINEAR'|…, gradientStops:[{position,color:{r,g,b,a}}], gradientTransform } (round-trips get_node output). Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fills | Yes | Paints to apply | |
| nodeId | Yes | Figma node id to repaint |