set_annotation
Document design intent by creating or updating markdown annotations on Figma nodes for clear, contextual feedback.
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>",
"labelMarkdown": "<labelMarkdown>"
},
"name": "set_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| categoryId | No | ||
| properties | No | ||
| labelMarkdown | Yes |