Check a file for writing style issues
check_fileAnalyze a UTF-8 file from disk for writing style issues including weasel words, passive voice, and hedging. Returns a line-and-column report.
Instructions
Read a UTF-8 file from local disk and analyze it for the same writing style issues as check_text (weasel words, passive voice, hedging, AI tells, and more). Read-only: the file is never modified, and Markdown files are automatically masked so code blocks and tables are not linted as prose. A .wscrc.json config is auto-discovered from the file's directory upward unless config is passed explicitly. Returns the same line-and-column report as check_text, or an error message for unreadable or oversized (over 100,000 characters) files. Use when the text lives on disk; use check_text for text already in the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the file to analyze; read as UTF-8 | |
| config | No | Optional config (same schema as .wscrc.json); when set, auto-discovery of .wscrc.json is skipped |