legal 2 credits · ~$0.030 <5ms

Citation Validator

POST /v1/legal/cite

The gate for any agent that cites case law. It parses and validates citations like "347 U.S. 483 (1954)" against a bundled table of 150+ reporter abbreviations, flags malformed structure, unknown reporters, and implausible years, and — when you supply the source text — verifies the quote actually appears, catching fabricated quotations before they reach a brief or a client.

Capabilities

  • Parses volume / reporter / page / year
  • 150+ Bluebook reporter abbreviations
  • Flags malformed, unknown-reporter, and implausible-year cites
  • Quote-fidelity check against supplied source text
  • Deterministic and offline, with a SHA-256 certificate

Use cases

  • Legal research and brief-drafting copilots
  • Catch hallucinated or fabricated case citations
  • Verify quotations against the record before filing
  • A citation gate for any law-facing agent
example
curl -X POST https://api.agent-toolbox.ai/v1/legal/cite \
  -H "Content-Type: application/json" \
  -d '{"citations": ["347 U.S. 483 (1954)"]}'
response shape
{
  "verdict": "PASS" | "FLAG" | "BLOCK",
  // tool-specific findings…
  "certificate": "sha256:..."
}