Word Comments and Review
word_reviewManage review state in Word .docx files: add/reply/resolve/delete comments, accept/reject tracked changes, anonymize for blind review, and prepare manuscripts for submission.
Instructions
Review state: add, reply to, resolve and delete comments, accept or reject tracked changes, switch Track Changes on or off in a closed file, anonymize a manuscript for blind review and restore it, and clean a manuscript for submission. To read comments or tracked changes use word_read; to make tracked edits use word_edit with track=true. resolve_revisions and prepare_for_submission can be undone only from the automatic backup. These ops refuse a document open in Word. Ops, one per line, as name(required; opt optional): what it does. file_path, live and backup are not repeated; word_help shows them:
manage_comment(action; opt text author comment_id location done): Add a comment at a location, or reply to, resolve or delete one by comment_id. Leave author out to sign with the user's own name, or pass author="assistant" to sign as "AI Assistant via KS4Word".
resolve_revisions(action; opt author): Accept or reject tracked changes in bulk, for every author or one (author); undo is from the automatic backup only.
anonymize_for_review(author_names; opt replacement mapping_path): Heuristic: review the flagged items rather than trusting silently. Anonymize a manuscript for blind review, reversibly; writes a private mapping file and flags identifying prose for you to check.
deanonymize_document(opt mapping_path): Reverse anonymize_for_review using its mapping file (default .anonymization.json beside the document).
prepare_for_submission(opt accept_revisions remove_comments scrub_metadata keep_title): Accept all tracked changes, delete all comments and scrub identifying metadata in one call; footnotes, fields and citations stay.
set_track_changes(enabled): Turn Track Changes on or off in a closed document, so Word and ops that take track record later edits (live_set_track_changes for an open one). One tracked edit needs only track=true on that op. More ops follow, in the same format, in the op parameter's description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | The operation to run: an op listed in this tool's description, or one of these, in the same format: - retrack_changes(baseline; opt author preview skip_untrackable): Mark edits made with Track Changes off as tracked changes against an earlier copy. Leave author out to sign with the user's own name, or pass author="assistant" to sign as "AI Assistant via KS4Word". | |
| args | No | The op's arguments as an object. Include file_path (the absolute .docx path) unless the op's line names other paths or the op reads no document; unknown keys are refused. word_help lists every argument. |