Check legal citations in a file
check_documentVerify all US case citations in a PDF, DOCX, TXT, or Markdown file by matching them against a register of 10 million court opinions. Get flagged results for citations that need checking or cannot be verified.
Instructions
Check every case citation in a document on disk (PDF, DOCX, TXT or Markdown, 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. Without an API key the free tier applies per IP address; a key from sign_up (free tier) identifies the account, and a paid-plan key lifts the limits.
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, .txt or .md file on this machine. |