create_gradient_style
Generate gradient style variables in Figma with specified properties such as type, color stops, and opacity. Use this to define and manage custom gradient designs efficiently.
Instructions
Creates one or more gradient style variables in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the created gradient(s) ID(s) or a summary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gradients | Yes | One or more gradient style definitions to create. Can be a single object or an array. |