create_text
Create text nodes in Figma with design-intelligent typography. Automatically resolves font weights like 'bold' to 'Bold' and '600' to 'Semi Bold' for consistent styling.
Instructions
Create text with design-intelligent typography. Font weight is auto-resolved (e.g. "bold" → "Bold", "600" → "Semi Bold").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content (use \n for line breaks) | |
| color | No | Text color hex (default: #ffffff) | |
| fontSize | No | Font size in px (default: 16) | |
| maxWidth | No | Maximum text width for wrapping | |
| parentId | No | Parent node ID | |
| textCase | No | Text case transform | |
| fontFamily | No | Font family (default: Inter) | |
| fontWeight | No | Weight: thin/light/regular/medium/semibold/bold/extrabold or 100-900 (default: Regular) | |
| lineHeight | No | Line height in px or ratio (1.5 = 150%) | |
| letterSpacing | No | Letter spacing in px | |
| textDecoration | No | Text decoration | |
| textAlignVertical | No | Vertical alignment | |
| textAlignHorizontal | No | Horizontal alignment |