case_detail
Fetch a full case by cluster ID or retrieve a single opinion as paged text, with optional phrase search and offset controls for reading long documents.
Instructions
Fetch a full case by id: a cluster (the case: name, citations, date, judges, and its opinion ids) or a single opinion (paged text, with optional literal phrase search across the whole document). Requires COURTLISTENER_API_TOKEN (these endpoints are authentication-only). Use the cluster_id from opinion_search results.
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": {
"id": "<id>"
},
"name": "case_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric cluster id (default) or opinion id. | |
| find | No | Opinion only: literal case-insensitive phrase to find at or after offset, including beyond the first page. Returns text beginning at the match and the next match offset. | |
| type | No | Which resource `id` refers to (default "cluster"). A cluster is the case; an opinion is one document within it. | |
| offset | No | Opinion only: normalized-text character offset, default 0. Use next_offset to continue reading or next_match_offset to find the next phrase. | |
| max_chars | No | Opinion only: characters per page (default and maximum 50000). |