add_comment
Post a comment on a diagram, pin it to a specific node, or reply to a top-level thread to leave review findings for humans.
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 |
|---|---|---|---|
| body | Yes | Comment text (1–5000 chars) | |
| space | No | Which workspace to act in: its id, its slug, or its exact name (case-insensitive). Omit to use this token's default workspace. Call list_spaces to see what this token can reach. A name that matches more than one workspace is refused — pass the id or slug instead. | |
| nodeId | No | Pin to this node id (top-level comments only) | |
| parentId | No | Reply to this top-level comment id | |
| diagramId | Yes | Diagram UUID |