add_text
add_textAdd a text node to a Figma document at a specified position with custom font, style, and size.
Instructions
Add a text node (loads font) at optional position.
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": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| x | No | ||
| y | No | ||
| fontFamily | No | Inter | |
| fontStyle | No | Regular | |
| fontSize | No |