Update comment
update_commentEdit your own comment text or resolve a root thread to close or reopen it, so handled discussions stay marked and questions get answered.
Instructions
Edit or resolve an existing comment (editor+); pass exactly one of body / resolved. {resolved: true} closes a thread once you have acted on it, {resolved: false} reopens one — idempotent, so re-resolving an already-resolved comment succeeds instead of erroring. Resolve applies to ROOT comments only. {body: ...} rewrites the text and is author-only: it works on comments this key wrote, and is refused on a person's comment. To answer someone rather than close them out, use add_comment with parent_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | new comment text (author-only; refused on someone else's comment) | |
| resolved | No | true closes a root thread, false reopens it | |
| comment_id | Yes | id of the comment to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes |