figma_set_text
Updates the text content of a Figma text node and optionally sets its font size, letting you edit copy and typography directly from an AI assistant.
Instructions
Set the text content of a text node. Optionally adjust font size.
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>",
"text": "<text>"
},
"name": "figma_set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The new text content | |
| nodeId | Yes | The text node ID | |
| fontSize | No | Optional font size to set |