figma_create_text
Create a new text node in a Figma page by setting content, position, font, size, and color. Returns the node ID for downstream design operations.
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 |