set_text_content
Update the text content of an existing Figma text node using its node ID, enabling programmatic edits to design text within Cursor AI.
Instructions
Set the text content of an existing text node in Figma
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 | The ID of the text node to modify |