analyze_grammar_check
Grammar Checker — Hybrid LanguageTool + Grok grammar checker with rule citations, style-guide awareness (APA/MLA/Chicago/AP/IEEE), dialect enforcement (US/UK/CA/AU), and per-issue severity. [category: analyze]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | strict = flag any casual phrasing; tone-preserving = preserve the author's voice. | tone-preserving |
| text | Yes | The text to check (max 50,000 characters). | |
| style | No | Style-guide conventions to enforce (e.g. Oxford comma for APA/MLA/IEEE/Chicago, dropped for AP). | none |
| dialect | No | English dialect for spelling and grammar rules. | en-US |
| include_llm | No | Run the Grok stage for context-dependent issues LanguageTool misses. Set false for rule-only output. |