set_text_style
Modify text styles in Figma by adjusting properties like font, size, weight, spacing, case, and decoration. Use node IDs to apply changes to specific text elements, returning updated content.
Instructions
Sets one or more text style properties (font, size, weight, spacing, case, decoration, etc.) on one or more nodes in Figma. Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the update result.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | No | Array of text style update entries. Must contain 1 to 100 items. | |
| nodeId | No | The unique Figma text node ID to update. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'. | |
| styles | No | Text style properties object - includes all Figma Plugin API supported properties (updated with corrected truncation support) |