check_draft
Verify every citation, attributed quotation, negative treatment, and authority currency in a draft opinion, memo, or brief, returning severity-ranked flags for review.
Instructions
One-call cite-check of a draft opinion, memo, or brief: verify every citation, every attributed quotation, negative treatment of cited cases, and the currency of cited authorities — a severity-ranked flag report.
Checks (all on by default, select with checks):
citations — every ND case cite resolves (typo catch), case-name drift
vs the canonical caption, missing neutral cite, statutory
subsection pinpoints validated against the provision;
quotations — every quotation attributed to a nearby cite is located in
that authority's text (typography-tolerant; word-level diff
on mismatch); statutes/rules/const quotes are also retried
against OTHER captured versions to catch quoting since-
amended text;
treatment — cited cases run through the citator; possible-negative /
distinguished citing sentences surface (same engine as
detect_overruled_in_draft, which remains the cheap
treatment-only pass);
currency — repealed / superseded / not-in-force authorities, checked
at as_of_date when given (offense/contract date); and a
cited case that cites an N.D.C.C. section but was filed
before the section's current text took effect
(construed_earlier_version, S4).
Severities: S1 misquotation or quote-of-superseded-text · S2 citation doesn't resolve · S3 possible negative treatment · S4 authority currency / bad pinpoint · S5 name drift / missing neutral cite.
Heuristic and NON-authoritative throughout: extraction is regex-based
(foreign/federal authority is listed as unchecked, not verified), quote
attribution follows the nearest-cite convention and can misattribute,
bracketed alterations and ellipses in quotes surface as differences, and
treatment signals are sentence-local. Read every flag's context before
acting on it. A draft spanning several operative dates needs per-authority
lookup_authority calls — as_of_date anchors the whole draft.
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": {
"draft_text": "<draft_text>"
},
"name": "check_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | Subset of ["citations","quotations","treatment","currency"] (default all). | |
| max_cases | No | Citator budget — max distinct cases scanned (default 60). | |
| as_of_date | No | Optional ISO date anchoring authority currency (default: current law). | |
| draft_text | Yes | The draft's full text. | |
| max_quotes | No | Max attributed quotations verified (default 40). | |
| scan_limit | No | Citing-opinion scan cap per case (default 200). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||