get_annotations
Access dev-mode annotations from Figma documents, scoped to a specific node if needed. Provides annotation labels, measurement types, and node IDs.
Instructions
Get dev-mode annotations in the current document or scoped to a specific node. Returns annotation objects with label text, measurement type, and the ID of the annotated node. Omit nodeId to retrieve all annotations on the current page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Optional — scope results to annotations on this node and its descendants, colon format e.g. '4029:12345' |