figma_create_text_style
figma_create_text_styleCreate a local Figma text style with a name and optional font family, size, style, line height, and description to standardize typography in a live design file.
Instructions
Create a local text 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": "figma_create_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fontSize | No | ||
| fontStyle | No | ||
| fontFamily | No | ||
| lineHeight | No | ||
| description | No |