create_styles
Creates or updates Figma local paint, text, and effect styles by name, accepting hex/gradient paints and installed fonts to define reusable design styles.
Instructions
Create or update local paint, text and effect styles (upsert by name). Paints accept solid hex or gradients; texts accept any installed font.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | No | [{ name, font, style, size, lineHeight, letterSpacing, textCase, description }] | |
| paints | No | [{ name, color | paint | paints, description }] | |
| effects | No | [{ name, effects: [...] }] |