reply_to_comment
Convenience wrapper around add_comment for the common reply case. Pass the parent comment id and the body; the handler reconstructs the target from the parent (no need for the agent to remember whether the parent was a row, cell, doc_range, html_element, surface, or workspace comment). Re-opens a resolved parent. Same threading rules as add_comment: nested replies flatten to single depth, so reply-to-reply re-points at the root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Reply body (1-5000 chars). | |
| mentions | No | Optional `[{ kind, id, label }]` mentions on the reply. Same validation + fan-out rules as add_comment. | |
| comment_id | Yes | Parent comment id. Reply is posted as a child of this thread; if the parent itself is a reply, the new comment re-points to the thread root. |