legal_analysis
Verify legal citations against primary sources, check overruling, retrieve in-force law versions, and map provision citations to prevent hallucinated authority.
Instructions
Verification and analysis over U.S. law. mode=verify_citations checks every citation in a block of text against primary sources and flags fabricated or misdescribed authority — run it on any AI-drafted legal text before relying on it. mode=cite_check reports whether a decision has been overruled. mode=applicable_law returns the version of a statute or rule in force on a past date. mode=impact_map shows what cites a provision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | mode=applicable_law: the date the conduct occurred (YYYY-MM-DD). | |
| full | No | Return long text without compaction. | |
| mode | Yes | verify_citations: check every citation in a block of text really exists and says what the text claims (hallucination gate). cite_check: has this decision been overruled or displaced. applicable_law: which version of a provision governed on a given date. impact_map: what cites this provision — cases, regulations, rulemakings. | |
| text | No | mode=verify_citations: the text whose citations should be checked. | |
| limit | No | mode=impact_map: items per category. | |
| section | No | U.S. Code section number, e.g. "107". | |
| caseName | No | mode=cite_check: case name if you have no citation. | |
| cfrTitle | No | CFR title number, e.g. "40". | |
| citation | No | mode=cite_check: case citation ("550 U.S. 544"). mode=applicable_law / impact_map: statute or regulation citation ("17 U.S.C. 107", "40 CFR 261.11"). | |
| lawTitle | No | U.S. Code title number, e.g. "17". | |
| opinionId | No | mode=cite_check: CourtListener opinion id. | |
| cfrSection | No | CFR section number, e.g. "261.11". | |
| checkContent | No | mode=verify_citations: also compare claimed headings, party names and subdivisions, not just existence. | |
| govinfoApiKey | No | ||
| congressApiKey | No | ||
| courtlistenerToken | No |