get_annotations
Extract design annotations from Figma files. Specify a node to target or omit to fetch all annotations in the document, with optional category details.
Instructions
Get all annotations in the current document or specific node
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>"
},
"name": "get_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | node ID to get annotations for specific node | |
| includeCategories | No | Whether to include category information |