verify_reasoning
Verify a multi-step reasoning chain and return a certificate summary including verdict, confidence score, and pinpointed failures. Use to structurally check reasoning before finalizing an answer.
Instructions
Verify a multi-step reasoning chain and return a Prova certificate summary.
Use this on any draft chain-of-thought before producing a final answer.
A VALID verdict means the argument is structurally sound (no circularity,
no contradiction, no unsupported leap). An INVALID verdict tells you
exactly which step is broken in the failure field — repair that step
and re-verify.
Args: reasoning: The reasoning chain as plain text (numbered steps or prose). retain: If True, the original reasoning text is persisted on the certificate row. Default follows PROVA_DEFAULT_RETAIN env var (False if unset). source_url: Optional URL of a paper or document this reasoning came from — surfaced on the certificate page. domain: Optional hint: medical | legal | financial | code | general. Improves failure-classification accuracy. metadata: Optional caller-defined key/value pairs (<=20 keys, <=8 KB) attached to the certificate.
Returns:
Compact certificate summary including verdict, confidence_score,
certificate_id, certificate_url, and (if INVALID) a failure block
pinpointing the broken step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasoning | Yes | ||
| retain | No | ||
| source_url | No | ||
| domain | No | ||
| metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||