color_apply_style
Apply a named color style to a Figma node, specifying fill or stroke. Use this to enforce consistent design tokens across your layouts.
Instructions
Apply a color style to a node.
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>",
"styleName": "<styleName>"
},
"name": "color_apply_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node | |
| property | No | Property to apply to (default: fill) | |
| styleName | Yes | Style name to apply |