figma_set_text
Set a Figma text node’s content and optional styling—font size, family/style, wrap style, and variable-font axes—without raw execute calls.
Instructions
Set the text content of a text node. Optionally adjust font size and the font family/style, the text wrap style (BALANCE or PRETTY, like CSS text-wrap), and variable-font axes (fontVariations, e.g. {wght: 550}). Font style names are space-sensitive ('Semi Bold', not 'SemiBold'), but this tool auto-corrects common no-space variants and falls back gracefully — so you don't need raw figma_execute to change typography. text can be left out to change only the styling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The new text content. Leave out to change only the styling | |
| nodeId | Yes | The text node ID | |
| fontSize | No | Optional font size to set | |
| fontStyle | No | Optional font style/weight to apply (e.g., 'Bold', 'Semi Bold'). No-space variants like 'SemiBold' are auto-corrected. | |
| fontFamily | No | Optional font family to apply (e.g., 'Inter') | |
| textWrapStyle | No | How lines break: AUTO (default), BALANCE (even line lengths, for headings) or PRETTY (avoids a lone last word) | |
| fontVariations | No | Variable-font axis values by OpenType tag, e.g. {wght: 550, slnt: -5}. Axes you leave out keep the named style's values |