apply_rewrite
Writes an approved rewrite into the manuscript file after diff approval, preserving encoding, line endings, and creating a backup.
Instructions
Write a proposed rewrite into the manuscript file (atomic write, original encoding and line endings kept, backup in .citecheck/backups). Only call after the user approved the diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rewrite_id | Yes |