Skip to main content
Applies multiple annotations to different nodes in a single operation. This tool processes annotations in batches of 5 for optimal performance, making it ideal for annotating complex designs with many elements.

Parameters

string
required
The ID of the parent node containing all elements to be annotated. Used for scoping the batch operation.
array
required
Array of annotation objects to apply. Each annotation object contains:

Response

Returns a detailed result object:

Usage

Batch Processing

The tool automatically processes annotations in batches of 5 to prevent Figma UI freezing. Progress updates are provided during processing:

Complete Annotation Workflow

Typical workflow for annotating a complex design:

1. Scan for annotation targets

First, identify all elements that need annotations:

2. Get available categories

Retrieve annotation categories for consistent organization:

3. Build annotation array

Map targets to annotations with appropriate content:

4. Apply batch annotations

Apply all annotations in one operation:

Converting Manual Annotations

Common use case: converting numbered/lettered annotation markers to native Figma annotations.

Scan text nodes for markers

Match markers to UI elements

Apply converted annotations

Performance Considerations

  • Batch size: Fixed at 5 annotations per batch for optimal performance
  • Large operations: Annotating 50+ nodes will take time; progress updates keep you informed
  • Verification: Check results array for any failed annotations
  • Retry logic: Failed annotations can be retried individually with set_annotation

Use Cases

Design system documentation

Development handoff

Best Practices

  1. Use scan tools first: Always use scan_nodes_by_types to identify targets before batch annotating
  2. Consistent categories: Use the same category for related annotations
  3. Rich markdown: Leverage markdown for structured, readable annotations
  4. Check results: Always inspect the results array for failures
  5. Logical grouping: Keep annotations in the same batch if they’re related

get_annotations

Retrieve existing annotations and categories

set_annotation

Create or update single annotation

scan_nodes_by_types

Find nodes to annotate

scan_text_nodes

Find text nodes (for converting manual annotations)