Set the characters of a text layer
figma_set_textReplace the text of a specific Figma TEXT node with new characters, loading the required font first to prevent silent font substitution.
Instructions
Replaces the text of one TEXT node. The font is loaded first; a layer whose font is missing from this machine is refused rather than silently retyped in a substitute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The new characters. | |
| nodeId | Yes | The TEXT node to retype. |