Check legal citations in a file
check_documentCheck every case citation in a PDF, DOCX, or TXT file against a register of 10 million US court opinions. Get coverage counts, flagged citations, and a report ID for detailed review.
Instructions
Check every case citation in a document on disk (PDF, DOCX or TXT, up to 10 MB) against proofread.law's register of about 10 million US court opinions. The file is read here and uploaded to proofread.law, which extracts the text in memory, checks it and discards it. Returns the same compact result as check_citations: coverage statement, counts per tier, one line per red (check this) or orange (cannot verify) row, the number of citations found, and a report id for render_report. Scanned PDFs without a text layer, encrypted PDFs and legacy .doc files cannot be read; .docx needs a paid plan. Cannot: resolve Westlaw (WL) or Lexis identifiers, check statutes, regulations or secondary sources, or say whether a case is still good law. A red row means 'check this', never 'this case does not exist'; an orange row means the register has nothing to check against, which is not evidence either way. deep=true also asks, for each found citation, whether the opinion supports the sentence it is cited for (white rows). It is slower (1 to 2 s per citation), opt-in because the clause before each citation is sent to a model judge, limited to 3 per month on the free tier, and its answers are a review queue, not a verdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also check whether each cited opinion supports the sentence it is cited for. Slower, opt-in, 3 per month on the free tier. | |
| path | Yes | Absolute path to a .pdf, .docx or .txt file on this machine. |