Skip to main content
Creates a new annotation or updates an existing one. Annotations are Figma’s native way to add design notes, implementation details, or any contextual information directly to design elements.

Parameters

string
required
The ID of the node to annotate (can be any visible node: FRAME, COMPONENT, INSTANCE, TEXT, etc.)
string
required
The annotation text in markdown format. Supports:
  • Bold: **text**
  • Italic: *text*
  • Links: [text](url)
  • Code: `code`
  • Lists, headers, and more
string
The ID of an existing annotation to update. Omit to create a new annotation.
string
The ID of the annotation category. Use get_annotations() with includeCategories: true to retrieve available categories.
array
Additional properties for the annotation. Each property is an object with a type field.

Response

Returns a JSON object containing:
  • success: Boolean indicating operation success
  • annotationId: ID of the created or updated annotation
  • nodeId: ID of the annotated node
  • message: Status message

Usage

Markdown Formatting Examples

Basic formatting

Structured annotations

Workflow: Single Node Annotation

Typical workflow for annotating a single element:

Use Cases

Design specifications

Document design decisions and constraints:

Implementation notes

Provide context for developers:

Interactive prototyping notes

Document interaction behaviors:

Best Practices

  1. Use structured markdown: Leverage headers, lists, and formatting for clarity
  2. Be concise: Keep annotations focused on essential information
  3. Link to docs: Use markdown links to reference external documentation
  4. Choose appropriate categories: Use categories to organize annotation types
  5. Update existing annotations: Use annotationId to update rather than duplicate

get_annotations

Retrieve existing annotations and categories

set_multiple_annotations

Batch annotate multiple nodes

scan_nodes_by_types

Find nodes that need annotations