Lint text
lint_textRun text-target checks (direct-answer/BLUF lead, repeated-phrase stuffing, paragraph length) over markdown or plain text and return detailed results with rule IDs, fix hints, and the same work list as a keyed scan. Batched callers pass detail=failures to drop passing checks. Use when: The draft is markdown or plain text. Avoid when: The draft is HTML (lint_html) or already a public URL (scan_url). Do not claim: A grade or a pass is not a citation. The check says the page matches the rulebook. Verify: Edit the text and call lint_text again. judge: engine — trust the pass/fail from the deterministic check (access, rendering, and mechanical structure). judge: agent — your agent re-reads the rule text and decides; the label comes from the deterministic judgeForCheck mapping, not an LLM on our side.
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": {
"markdown": "<markdown>"
},
"name": "lint_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Keyed callers only; a free scan already lists failures alone and ignores it. full (default): every check. failures: only failed and skipped checks plus the page and group grades, grade_basis and the do-not-claim guidance — use it for batched calls or when a full response would be truncated. | |
| markdown | Yes | Markdown or plain text to lint, at most 2 MB. | |
| content_type | No | Content type used to select applicable checks. |