add_text_annotation
Add a BPMN text annotation to a diagram, optionally linking it to an existing element for clarification.
Instructions
Add a BPMN text annotation, optionally associated with an existing element
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Size of the annotation | |
| text | Yes | Annotation text preserved exactly, including whitespace, line breaks, and metacharacters | |
| position | No | Position of the annotation | |
| textFormat | No | Optional text media type; BPMN defaults to text/plain | |
| associatedElementId | No | Existing element to link from the annotation with a separate undirected BPMN association |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Active BPMN filename | |
| annotationId | Yes | Stable generated or existing BPMN ID | |
| associationId | No | Stable generated or existing BPMN ID |