apply_paint_style
Apply an existing Figma paint style to a node's fill by providing the node ID and style ID retrieved from get_styles.
Instructions
Apply an existing color style (paint style) to a node's fill in Figma. Use get_styles to find style IDs first.
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>",
"styleId": "<styleId>"
},
"name": "apply_paint_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to apply the style to | |
| styleId | Yes | The ID of the paint style to apply (from get_styles) |