set_text_style
Apply an existing local text style to a Figma text node by specifying its style ID or exact style name, keeping text consistent with your design system.
Instructions
Apply an existing local text style to a text node. The style is designated by its ID or its name.
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>",
"style": "<style>"
},
"name": "set_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | Text style ID (S:...) or exact style name | |
| nodeId | Yes | ID of the text node |