set_annotation
Attach an annotation label to a Figma node by providing the node ID and label text. This action uses the proposed Annotations API in Figma Desktop.
Instructions
Add an annotation label to a node in Figma. Uses the proposed Annotations API — requires Figma Desktop with enableProposedApi.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to annotate | |
| label | Yes | The annotation label text |