figma_create_text
Create a text node on the current Figma page with customizable text, font, size, color, and position. Returns the new node ID.
Instructions
Create a new text node on the current page. Returns the created node ID. IMPORTANT: fontFamily defaults to 'Inter' — if using a design system with a custom font (e.g. 'YourBrandFont'), specify the DS font from active-ds.md. For DS text with proper token binding, prefer figma_execute with importStyleByKeyAsync + setTextStyleIdAsync instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | Node name (default: text content) | |
| text | Yes | Text content | |
| fontSize | No | ||
| parentId | No | Parent node ID | |
| fillColor | No | Text color hex e.g. '#000000' | |
| fontStyle | No | Regular | |
| fontFamily | No | Font family — defaults to Inter. Specify DS font from active-ds.md if using a design system. | Inter |