List Annotations
annotation_listRetrieve native annotations from a Figma node and its subtree, with optional inclusion of global annotation categories.
Instructions
Read the native annotations on a node (and subtree); optionally include the file's annotation categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node ID to get annotations from | |
| includeCategories | No | If true, retrieves the list of global annotation categories in the file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annotations | No | List of annotations | |
| categories | No | List of global annotation categories |