set_text_style_id
Apply a text style to Figma text nodes by specifying the node ID and style ID, enabling consistent typography formatting across designs.
Instructions
Apply a text style to a text node in Figma. Use get_styles to find available text style IDs.
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 |