Parameters
Node ID to get annotations for a specific node and its children
Whether to include category information in the response. Categories define the type of annotation (e.g., “Design”, “Development”, “Content”).
Response
Returns a JSON object containing:-
annotations: Array of annotation objects with:
id: Unique annotation identifiernodeId: ID of the annotated nodelabelMarkdown: Annotation text in markdown format (supports bold, italic, links, etc.)categoryId: Optional category identifierproperties: Array of additional annotation properties
-
categories (when
includeCategories: true): Array of available annotation categories with:id: Category identifiername: Category display namecolor: Category color
Usage
Use Cases
Audit existing annotations
Before adding new annotations, scan to see what’s already annotated:Find annotation targets
Use withscan_nodes_by_types to identify which elements need annotations:
Markdown Support
Annotation labels support markdown formatting:- Bold text:
**bold** - Italic text:
*italic* - Links:
[link text](https://example.com) - Code:
`code` - Lists and more
Related Tools
set_annotation
Create or update a single annotation
set_multiple_annotations
Batch create/update multiple annotations
scan_nodes_by_types
Find nodes that need annotations