figma_set_text_style
Set text node styles in Figma by node ID, including font, size, line height, letter spacing, alignment, and text content.
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": {
"nodeId": "<nodeId>"
},
"name": "figma_set_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| fontName | No | ||
| fontSize | No | ||
| characters | No | ||
| lineHeight | No | ||
| letterSpacing | No | ||
| textAlignHorizontal | No |