create_text
Creates a text node in a Figma file with automatic font loading, optional wrapping and styling for adding editable labels or copy.
Instructions
Create a text node. Font is loaded automatically.
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 | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| fill | No | ||
| name | No | ||
| width | No | Fixed width (enables wrapping) | |
| fontSize | No | ||
| parentId | No | ||
| fontStyle | No | Default Regular | |
| characters | Yes | ||
| fontFamily | No | Default Inter |