add_comment
Add a comment to a file or reply to an existing comment with optional line anchoring; replying to external commenters sends them an email.
Instructions
Add a comment to a file, or reply to an existing comment (pass parentCommentId). Authored as the connected user. Optionally anchor to a line with lineNumber. Replying to an external (guest) commenter also emails them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | UUID of the file | |
| content | Yes | Comment text (plain text, max 10000 chars) | |
| lineNumber | No | Optional 1-based line to anchor the comment to | |
| parentCommentId | No | Optional comment id to reply to (from list_comments) |