Set solid fill
figma_set_solid_fillApply a solid color fill to a Figma node by its nodeId, with optional opacity. Set RGB values to define the fill color.
Instructions
Sets a SOLID fill on a node by nodeId.
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>",
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "figma_set_solid_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | Yes | ||
| g | Yes | ||
| r | Yes | ||
| nodeId | Yes | ||
| opacity | No |