set_gradient_fill
Apply a two-color gradient fill to any Figma node using start and end hex colors, plus an optional angle.
Instructions
Set a gradient fill with a simple angle + 2 colors API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | Gradient angle in degrees (default: 180) | |
| nodeId | Yes | Target node | |
| endColor | Yes | End color hex | |
| startColor | Yes | Start color hex |