set_annotation
Create or update an annotation on a Figma node using markdown-formatted text.
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 |
|---|---|---|---|
| nodeId | Yes | Node to annotate | |
| text | Yes | Annotation text (markdown supported) |