add_comment
Post structured comments on diagrams, optionally pinning to a node or replying to a top-level thread for team review.
Instructions
Post a comment on a diagram. Pass nodeId to pin it to a specific node, or parentId to reply to an existing top-level comment (threads are one level deep). The author is the API token's owner. Use this to leave structured review findings a human will see on the diagram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagramId | Yes | Diagram UUID | |
| body | Yes | Comment text (1–5000 chars) | |
| nodeId | No | Pin to this node id (top-level comments only) | |
| parentId | No | Reply to this top-level comment id |