List Annotations
annotation_listRetrieves annotations from a specified Figma page or node, with an option to include global annotation categories.
Instructions
Read the native annotations on a page or node (and subtree); exactly one of pageId or nodeId is required. Optionally include the file's annotation categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | The node ID to get annotations from. Exactly one of pageId or nodeId is required. | |
| pageId | No | The page ID to get annotations from. Exactly one of pageId or nodeId is required. | |
| includeCategories | No | If true, retrieves the list of global annotation categories in the file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | No | List of global annotation categories | |
| annotations | No | List of annotations |