set_gradient
Apply or update gradients on Figma nodes via Conduit, specifying type, color stops, and target areas (fill, stroke, or both) for precise design adjustments.
Instructions
Set a gradient on one or more nodes in Figma, either directly or by style variable.
Returns:
content: Array containing a text message with the updated node(s) ID(s) or a summary.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entries": "<entries>"
},
"name": "set_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | One or more gradient set operations to perform. Can be a single object or an array. |