Remove duplicate adjacent words
fix_duplicatesRemove duplicate adjacent words from text, including across line breaks, and return the cleaned text along with a list of removed words.
Instructions
Remove duplicate adjacent words (case-insensitive, including across line breaks) and return the cleaned text plus the list of words that were removed. Read-only with no side effects: the fix is returned in the response, nothing is written anywhere. Use after check_text or check_file reports duplicate words; other issue types are report-only and have no auto-fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to clean by removing duplicate adjacent words |