caselaw_opinion_text
Fetch the full opinion text of a case on demand by its CAP id. Text is retrieved live from the public-domain CAP static mirror (not stored), and includes each opinion (majority, dissent, concurrence) with its author. Use max_chars to bound the response.
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": "caselaw_opinion_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CAP case id (from caselaw_search / caselaw_citation_lookup). | |
| max_chars | No | Maximum total characters of opinion text (default 50000, max 500000). |