create_text
Add a text node to a Figma design with specified characters, position, and font size. Appends to a parent container or the current page.
Instructions
Create a new TEXT node with the given characters (default font loaded automatically), optionally sized/positioned and appended to a parent (default: current page). To change the text of an existing node use set_text; for font, size, or color use set_text_properties. Returns { ok, nodeId, name, type }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position in the parent | |
| y | No | Y position in the parent | |
| fontSize | No | Font size in px | |
| parentId | No | Container node id; omit for current page | |
| characters | Yes | Text content |