case_detail
Retrieve complete case details or full opinion text by ID. Use cluster IDs from opinion search results to access case metadata or individual opinion documents.
Instructions
Fetch a full case by id: a cluster (the case: name, citations, date, judges, and its opinion ids) or a single opinion (its full text). 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. | |
| type | No | Which resource `id` refers to (default "cluster"). A cluster is the case; an opinion is one document within it. |