create_text
Create editable text nodes on a Figma canvas with position, font, fill, and parent options; set a fixed width to enable text wrapping while height grows automatically.
Instructions
Create a text node on the Figma canvas. Use width to fix the column width and enable text wrapping.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "create_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | Layer name | |
| text | Yes | Text content | |
| width | No | Fixed column width in px — enables text wrapping. Height grows automatically unless height is also set. | |
| height | No | Fixed height in px — clips or scrolls content. Only meaningful when width is also set. | |
| fontSize | No | ||
| parentId | No | Parent frame/group node ID | |
| fillColor | No | ||
| fontStyle | No | Regular | |
| fontFamily | No | Inter | |
| textAutoResize | No | Resize behaviour. HEIGHT (default when width set): fix width, grow height. NONE: fixed box. WIDTH_AND_HEIGHT: auto-size both (default). |