Get gradient
get_gradientRetrieve a gradient's full CSS recipe by gradientId, including linear angle, color stops, and semantic token values, to apply background styles after listing gradients.
Instructions
Retrieve the full gradient CSS recipe (linear angle, color stops, and semantic token values) for a specific gradient by gradientId. Call after list_gradients to materialize background styles or decorative surfaces on cards. Alternatives: Use list_gradients to search available recipes. Read-only platform catalog lookup. Returns full gradient recipe object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gradientId | Yes | The unique identifier of the gradient preset (e.g. grad_warm_sunset). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Gradient preset identifier. | |
| css | No | Full CSS linear-gradient declaration. |