figma_create_text
Creates a text node in the open Figma file at specified x/y coordinates, with optional font, size, fill color, and parent; fails rather than substituting a different font.
Instructions
创建文本。指定字体失败不会改用其它字体。
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>",
"x": "<x>",
"y": "<y>"
},
"name": "figma_create_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| fill | No | ||
| fontName | No | ||
| fontSize | No | ||
| parentId | No | ||
| characters | Yes |