set_multiple_annotations
Apply multiple annotations to design elements in a Figma node simultaneously, using markdown text and optional category IDs for structured labeling and updates.
Instructions
Set multiple annotations parallelly in a node
Input Schema
Name | Required | Description | Default |
---|---|---|---|
annotations | Yes | Array of annotations to apply | |
nodeId | Yes | The ID of the node containing the elements to annotate |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"annotations": {
"description": "Array of annotations to apply",
"items": {
"additionalProperties": false,
"properties": {
"annotationId": {
"description": "The ID of the annotation to update (if updating existing annotation)",
"type": "string"
},
"categoryId": {
"description": "The ID of the annotation category",
"type": "string"
},
"labelMarkdown": {
"description": "The annotation text in markdown format",
"type": "string"
},
"nodeId": {
"description": "The ID of the node to annotate",
"type": "string"
},
"properties": {
"description": "Additional properties for the annotation",
"items": {
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"nodeId",
"labelMarkdown"
],
"type": "object"
},
"type": "array"
},
"nodeId": {
"description": "The ID of the node containing the elements to annotate",
"type": "string"
}
},
"required": [
"nodeId",
"annotations"
],
"type": "object"
}