set_annotation
Add or update markdown-supported annotations on Figma nodes. Pass a node ID and text to document design decisions directly in your files.
Instructions
Create or update an annotation with markdown support.
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": {
"nodeId": "<nodeId>",
"text": "<text>"
},
"name": "set_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Annotation text (markdown supported) | |
| nodeId | Yes | Node to annotate |