Get court decision
get_caseRetrieve a court case by ID or slug.
By default returns the case metadata and the complete, untruncated
``content`` as plain text (HTML tags removed, entities decoded,
whitespace normalized; one line per paragraph, Randnummern as line
prefix). To read a long decision piece by piece, request a snippet
with ``offset`` and/or ``length``; both count characters of that
plain text. In snippet mode ``content`` is omitted and a ``snippet``
object is returned:
``text``, ``offset``, ``length``, ``total_length``, ``has_more`` and
``next_offset``. Pass ``next_offset`` as ``offset`` to continue
reading until ``has_more`` is false.
Args:
case_id: Case database ID.
slug: Case URL slug.
offset: Start position in plain-text characters (default 0).
length: Number of plain-text characters to return. 0 (default)
means "until the end". Leave both at 0 for the full content.
full_text: Deprecated and ignored (content is never truncated).
Passing it adds a ``deprecation_warnings`` entry to the
response.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| length | No | ||
| offset | No | ||
| case_id | No | ||
| full_text | No |