US Opinion Text
get_us_opinionRetrieves a single US court opinion by its opinionId as HTML or plain text, so you can read the majority, concurrence, or dissent separately and follow case citations.
Instructions
The text of one opinion by opinionId (listed on the case record), as html (default; a citation to a case we hold carries data-case-id, which get_us_case accepts) or plain text. A decision can have several opinions (majority, concurrence, dissent): read each by its own id. textFromOcr true means the text was recognised from a scan, so check a quotation before relying on it. An unknown id is a 404, not charged.
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": {
"opinion_id": "<opinion_id>"
},
"name": "get_us_opinion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | `html` is our markup: paragraphs, footnotes, and a `cite` element carrying `data-case-id` where the citation points to a case we hold. `text` is the same opinion as plain text. | html |
| opinion_id | Yes | The opinionId: `USOP_` and 20 uppercase hex characters. Malformed is a 422. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||