canon_check
Audit text or a rendered CanonDocument against R-invariants and return per-rule findings, severities, verdict, and reproducible hash.
Instructions
Canon — audit text or a CanonDocument against R-invariants (engine v0.2.0 enforces R1, R2, R5, R10, R13, R14; R13 is the stakes-adaptive format heuristic added in v0.2.0; R3/R4/R6/R7/R8/R9/R11/R12 remain 'partial' by design — see canon_layer.md and audit.py). Returns an AuditReport with per-R findings, severities, an overall verdict in {pass, fail, safety_fail, partial}, and a reproducible hash for R9 diffability. Reference: ivd/canon_layer.md §Audit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "canon_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw text — Canon will Tier-1-render then audit. Provide either `text` or `document`. | |
| stakes | No | Stakes hint (only used when starting from `text`). | medium |
| document | No | A previously rendered CanonDocument (output of canon_render's `document` field). Audited as-is. | |
| domain_pack | No | Domain pack id (default 'general'). | general |