set_text_style_id
Apply a text style to any text node in Figma by providing the node ID and style ID. Update text formatting without manual edits.
Instructions
Apply a text style to a 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>",
"textStyleId": "<textStyleId>"
},
"name": "set_text_style_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| textStyleId | Yes | The ID of the text style to apply |