Add comment
add_commentPosts comments on wiki pages, anchoring root feedback to plain-text passages and replying inside existing threads; idempotency keys prevent duplicate retries.
Instructions
Comment on a page (editor+). Omit parent_id for a ROOT comment: it needs an anchor, a {prefix, exact, suffix} text triplet that pins it to a passage so it survives edits to the page. Pass parent_id to REPLY inside an existing thread (no anchor; replying to a reply is rejected) — that is how you answer a person's comment, rather than posting a second root beside theirs. ANCHOR TEXT IS THE PAGE'S PLAIN TEXT, NOT ITS MARKDOWN: inline markers are stripped (**ship it** is anchored as ship it), blocks are joined by single newlines, and prefix/suffix hold at most 32 characters of surrounding context. Quote the passage as a reader sees it, not as get_page returns it. Pass idempotency_key to make retries safe (a repeat returns the original comment instead of posting a duplicate). Use for feedback ON page content; to report problems with tela itself use submit_feedback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | comment text (1-10000 chars) | |
| anchor | No | text-quote anchor locating the comment in the page's PLAIN TEXT (markdown markers stripped); required for a root comment, omit when replying | |
| page_id | Yes | page to comment on | |
| parent_id | No | id of the root comment to reply to; omit to start a new thread | |
| idempotency_key | No | optional client-generated key; a retry with the same key returns the original result instead of posting a duplicate comment (safe retries after a dropped connection) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes |