assist_writing_fix
Writing Agent editor pass (Pro plan + Assist credits): proposes the SMALLEST find→replace patches that resolve review_writing / score_content_draft findings, using a Sonnet-class editor model — not the lite tier. It never rewrites the document, never applies anything, and never invents a number, source or quote: an unsourced claim is qualified, marked [SOURCE NEEDED: …] or removed. Every patch is anchored to text that exists (unanchored ones are dropped) and flagged if it introduces a digit. Show the user each patch with its why, apply the accepted ones verbatim, then review_writing again. Fixed cost per call for up to 12 findings; if you pass no findings the detector runs first and a clean text costs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The draft (markdown/plain, ≤ 60k chars) | |
| site_id | No | Optional brand/site id for cost attribution | |
| findings | No | JSON array of findings from review_writing (default: run the detector) | |
| voice_notes | No | The user's voice/terminology notes to preserve | |
| max_findings | No | Up to 12 findings per call (default 12) | |
| target_keyword | No | Optional target keyword |