Comment Management
comment_manageFastio comments on files (write): add (with an optional anchor or attachments), edit, delete, bulk-delete, emoji reactions, attach/detach objects, resolve/reopen/assign threads, suggested edits. Destructive: delete, bulk-delete and some suggestion actions (see describe). Reads are on comment. action='describe' gives the full action/param reference.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "comment_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Suggestion: replace the quoted text, or delete it. | |
| note | No | Suggestion: optional rationale (sent as the comment body). | |
| text | No | Max 8192 characters; display text (mention markup excluded) max 500, usually the binding limit. CJK and emoji count as one. | |
| emoji | No | Single emoji character. | |
| action | Yes | Operation. Use 'describe' for full action reference. | |
| reopen | No | Reply only: also reopen the resolved thread. | |
| node_id | No | File node opaque ID. | |
| assignee | No | assign: self (you; an agent is recorded as itself) or ripley. Not with assignee_user_id. | |
| share_id | No | Alias for profile_id; implies profile_type=share. | |
| reference | No | Anchor: image region, A/V timestamp, PDF page, or text selection (exact + prefix + suffix). Max 2048 bytes JSON-encoded (non-ASCII costs 6 each). | |
| target_id | No | Object to attach: node, workspace, share, File Share or envelope ID. | |
| comment_id | No | Comment opaque ID. | |
| context_id | No | Alias for profile_id (either name works) | |
| profile_id | No | Workspace, share or File Share ID (pair with profile_type). | |
| properties | No | JSON object of app-defined key-values: stored on add, merged on edit (server-managed keys ignored). | |
| target_ids | No | Objects to attach (max 25 per comment). | |
| comment_ids | No | Comment IDs (max 100). | |
| replacement | No | Suggestion: new text for op=replace (sent verbatim). op=delete takes none: omit it or pass an empty string. | |
| context_type | No | Alias for profile_type (either name works) | |
| profile_type | No | Profile type. | |
| workspace_id | No | Alias for profile_id; implies profile_type=workspace. | |
| idempotency_key | No | suggestion-accept: 1-128 of A-Z a-z 0-9 . _ : -, one per accept. A retry with the same key resumes that accept and is not applied twice. Generated and returned when omitted. | |
| assignee_user_id | No | assign: user to assign (or use assignee). | |
| if_state_version | No | Compare-and-set: state_version from the last read (thread's for resolve/reopen/assign/unassign, suggestion's for edit/withdraw/reject/accept/undo). | |
| confirm_unsettled | No | reject/withdraw: true decides even though an earlier accept may already be in the note (refused as suggestion_apply_unknown otherwise). | |
| parent_comment_id | No | Parent comment ID (reply; one level). |