figma_set_fill
Need to change a Figma node's color? Set its fill to any hex color by providing the node ID and hex code.
Instructions
Change fill color of a node (hex color)
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": {
"nodeId": "<nodeId>",
"hex": "<hex>"
},
"name": "figma_set_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | Hex color e.g. "#FF0000" | |
| nodeId | Yes |