canon_render
Renders raw AI text or structured contracts into a CanonDocument with confidence marks and verification beats, returning markdown plus an audit verdict to gate downstream actions.
Instructions
Canon — render any AI text as a CanonDocument (Setting Phase, confidence-marked body, verification beats, folk-theory notes, identity statement). Tier 1 from raw text; Tier 2 from a structured contract. Returns markdown by default plus the audit verdict so the caller can gate downstream actions on it. Reference: ivd/canon_layer.md.
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_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw AI output to render (Tier 1 path). Provide either `text` or `contract`. | |
| stakes | No | Stakes hint that gates verification beat emission. | medium |
| contract | No | Structured CanonContract (Tier 2 path). Fields: setting, body, confidence_marks[], decision_points[], folk_theory_corrections[], identity_statement, domain_pack, stakes. | |
| domain_pack | No | Domain pack id (e.g., 'general', 'medical', 'finance'). Default 'general'. | general |
| output_format | No | What to return. | markdown |
| identity_statement | No | AI identity statement (R14). Default: 'I am an AI assistant.' |