Skip to main content

Overview

okra documents verify checks a specific claim against a specific page of a document and returns a grounded verdict with visual evidence. It answers “is this claim supported by what’s actually on the page?” — not a page-level approval workflow.
The vision model reads the page and returns one of three verdicts:
  • supported — the page supports the claim
  • contradicted — the page contradicts the claim
  • not_visible — the claim can’t be confirmed from what’s on the page

Verify a claim

Every result carries the page, an evidence_snippet of the supporting (or contradicting) text, a page_image_url for visual reference, a confidence score, and the resolved bbox of the evidence on the page.

Focus on a region (--bbox)

Pass --bbox to constrain verification to a region of the page instead of the whole page. Coordinates are normalized { "x", "y", "w", "h" }.

Arguments and flags

Pipe-friendly use

okra documents verify emits the standard envelope, so a verdict is easy to branch on in a script:
This is the document-level claim check. To verify a PDF-backed claim from an agent (with document_id or a public pdf_url), use the verify_source tool over MCP.