Create a style
figma_create_styleCreates local Figma fill, text, or effect styles to apply consistent colors, typography, and effects across a design file.
Instructions
Creates a local FILL (value: color or paints), TEXT (value: {fontFamily,fontStyle,fontSize,lineHeight,letterSpacing}) or EFFECT (value: effects array) 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": {
"type": "<type>",
"name": "<name>",
"value": "<value>"
},
"name": "figma_create_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| name | Yes | ||
| type | Yes | ||
| value | Yes | ||
| description | No |