set_text_content
Update a Figma text node's content while preserving its existing styles. Provide the node ID and new text to replace text without altering design.
Instructions
Update text content of a text node without changing styles.
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": "set_text_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New text content | |
| nodeId | Yes | Text node ID |