set_text_decoration
Apply underline, strikethrough, or no decoration to one or more Figma TEXT nodes, optionally within a character range, and get per-node success results.
Instructions
Set underline / strikethrough / none on one or more TEXT nodes (also text inside instances, e.g. 'I;'), optionally only for a character range [start, end). Reports per-node success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional end character index (exclusive) | |
| start | No | Optional start character index (inclusive) | |
| nodeId | No | ID of a single text node | |
| nodeIds | No | IDs of multiple text nodes | |
| decoration | Yes | Text decoration to apply |