Lint a file
lint_fileValidate text, Markdown, HTML, CSV/TSV, and locale files for AI tells, puffery, missing facts, and channel limits while preserving locale keys and placeholders.
Instructions
Lint a text, Markdown, HTML, CSV/TSV or locale file (json, po, arb, xliff, strings, strings.xml) inside an allowed folder. Locale keys and placeholders are never changed; CSV issues are keyed row/sku/column.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "lint_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| md | No | Treat as Markdown; default comes from the extension | |
| lang | No | auto detects the language per line | auto |
| path | Yes | File inside an allowed folder; a relative path starts at the project folder | |
| facts | No | Brief or source text; English facts missing from it are flagged | |
| format | No | Whalory format id; sets the limits for sentence length, emoji and exclamation marks | |
| channel | No | e.g. instagram.caption, linkedin.post (Pro data) | |
| csv_key | No | CSV/TSV: id column used in issue keys | |
| profile | No | Profile name (whalory, starter-saas, en/saas), 'auto', or a path inside an allowed root | |
| csv_columns | No | CSV/TSV: comma-separated text columns |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| path | No | ||
| stats | Yes | ||
| issues | Yes | ||
| passed | Yes | ||
| summary | Yes | ||
| truncated | No |