ui_builder_post_comment
Say something on a design — a reply into threadId, or a new thread when it is omitted. Pin a new thread with markId (a stroke on the reference overlay), nodeId (a node in the design), or x/y in frame fractions, so the person reading it can see what you meant. The comment is attributed to your own grant; you cannot post as somebody else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Pin to a point on the frame, 0..1 across. | |
| y | No | Pin to a point on the frame, 0..1 down. | |
| body | Yes | ||
| token | No | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it. | |
| markId | No | Pin to a markup stroke on the reference. | |
| nodeId | No | Pin to a design node. | |
| designId | Yes | ||
| threadId | No | Reply into this thread. Omit to start one. | |
| displayName | No | The name to show beside your actor id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||