create_text
Create editable Figma text nodes with font, size, color, alignment, and optional wrapping width for programmatic design updates.
Instructions
Create a text node with font, size, color, and alignment.
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": {
"characters": "<characters>"
},
"name": "create_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | Optional fixed width for text wrapping | |
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open | |
| fillHex | No | Text color hex e.g. #111827 | |
| fontSize | No | ||
| parentId | No | ||
| fontStyle | No | Font style e.g. Regular, Medium, SemiBold, Bold | |
| characters | Yes | Text content | |
| fontFamily | No | Font family (default Inter) | |
| textAlignHorizontal | No |