apply_text_style
Assign a Figma text style to one or multiple TEXT nodes by ID, including text within instances, and report per-node success.
Instructions
Apply a text style to one or more TEXT nodes (also works on text inside instances, e.g. 'I;'). Reports per-node success.
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": {
"styleId": "<styleId>"
},
"name": "apply_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ID of a single text node | |
| nodeIds | No | IDs of multiple text nodes | |
| styleId | Yes | ID of the text style to apply |