create_text
Add text to Figma designs at defined coordinates, with control over font size, weight, color, alignment, and auto-resize settings.
Instructions
Create a new text element in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position (local coordinates, relative to parent) | |
| y | Yes | Y position (local coordinates, relative to parent) | |
| text | Yes | Text content | |
| fontSize | No | Font size (default: 14) | |
| fontWeight | No | Font weight (e.g., 400 for Regular, 700 for Bold) | |
| fontColor | No | Font color in RGBA format | |
| name | No | Optional name for the text node by default following text | |
| parentId | No | Parent node ID. REQUIRED — server enforces this. Use page node ID for top-level elements. Get page IDs via get_pages tool. | |
| textAlignHorizontal | No | Horizontal text alignment. Use RIGHT for Arabic/RTL text. | |
| textAutoResize | No | Text resize behavior. Use HEIGHT for fixed-width text that wraps. | |
| width | No | Fixed width for the text node. Use with textAutoResize HEIGHT for wrapping text within a specific width. |