check_draft
Run the full grounding gate over a DRAFTED text (answer, memo, brief) before it is presented: extracts every legal citation, verifies existence against the corpus, checks verbatim quotes („…“ / "…") against the canonical source wording, and flags repealed acts/norms and pending legislative changes to cited acts.
Prefer this over verify_citations when you have a full text; use
verify_citations for a bare list of citation strings.
quellen: optional jurisdiction filter (comma-separated: bund, by, nrw, sn,
bb, hb, at, ch, eu). SET IT when the draft is written for a known
jurisdiction — a Bavarian exam citing "Art. 141 BV" means the Bavarian
constitution, not the Swiss one. Without it the jurisdiction priority
decides and you get an ambiguous_jurisdiction warning instead.
Returns {summary: {verdict: pass|warn|fail, …}, citations, quotes, findings}.
Fix every `error` finding before presenting (quote_not_in_source,
repealed_law/repealed_norm); report `warn` findings honestly (unresolved =
not verifiable against this corpus, NOT proof of invention; quote_unattributed =
a quotation had no citation in the same sentence, so it was NOT CHECKED at all —
a `pass` verdict says nothing about it; quote_deviation =
wording differs — compare source_excerpt; German quotations from EU acts are
checked against the German EUR-Lex wording automatically, so a quote_unverified
on an EU act means neither language matched; ambiguous_jurisdiction = the
abbreviation fits two jurisdictions and the checked one may not be the meant
one — name both rather than picking silently); mention `pending_change` when
currency matters. EU caveat: corpus text is the English version — a German
quote may be correct in the German OJ version (finding: quote_unverified).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": {
"text": "<text>"
},
"name": "check_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| quellen | No |