prepare_for_submission
Accept all tracked changes, remove comments, and scrub identifying metadata to ready a Word manuscript for submission. Preserves footnotes, fields, and citations; refuses protected or open documents.
Instructions
Prepare a manuscript for submission in one call: accept all tracked changes (every author), delete all comments including the comments-family parts, and scrub identifying metadata (author, last-modified-by, company; title kept unless keep_title=False). Content is never removed: footnotes, fields, and citations all stay. Refuses protected documents rather than delivering a half-clean file. Reports what was done, what was deliberately left (rsids), and what remains. Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | ||
| file_path | Yes | ||
| keep_title | No | ||
| scrub_metadata | No | ||
| remove_comments | No | ||
| accept_revisions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||