precedent-search
Case-law precedent search (CourtListener, US) — Finds US court opinions most on point for a legal question or fact pattern: searches CourtListener's case-law index (optionally limited to courts and filing dates), reads the top opinions, and returns the best matches with a holding passage verified verbatim against the opinion text, plus citation, court, date, precedential status and a source hash. A second skeptical pass flags matches that look
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>"
},
"name": "precedent-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courts | No | CourtListener court ids such as "scotus", "ca9", "cal", "calctapp". Omit to search all courts. | |
| question | Yes | The legal issue and key facts. Quote a phrase to require it verbatim in the search. | |
| filed_after | No | Earliest filing date, YYYY-MM-DD. | |
| max_results | No | Default 5. | |
| filed_before | No | Latest filing date, YYYY-MM-DD. | |
| include_excerpts | No | Default true. When false, the holding passage text is omitted from the output (quote_verified and quote_offset are still reported). |