check_language
Finds grammar, spelling, punctuation, and style issues in text or documents, with paragraph and offset anchors to locate each fix; accepts raw text, file paths, or in-conversation .docx/.pdf.
Instructions
Grammar/spelling/punctuation/style findings via a local
LanguageTool instance, with paragraph/offset anchors so the
model can locate and fix issues precisely. If lang isn't
given and the language can't be auto-detected with confidence,
asks the client which language it is (MRTR elicitation) rather
than guessing. Facts and LanguageTool's own suggestions only —
never a rewritten "corrected" version of the text.
Accepts exactly one of: a filesystem path, raw text, or
inline content_base64 (with filename required alongside it)
for a .docx/.pdf that only exists in the conversation rather
than saved to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| path | No | ||
| text | No | ||
| filename | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| flags | No | ||
| format | Yes | ||
| findings | Yes | ||
| language | Yes | ||
| finding_count | Yes |