create_paint_style
Create or update a local paint style in Figma by name, with optional hex color or paint array for reuse across designs.
Instructions
Create or update a local paint style.
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": {
"name": "<name>"
},
"name": "create_paint_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | ||
| name | Yes | ||
| paints | No |