What it does
get_decision returns one court decision: its metadata, the stored text in numbered paragraphs, the published headnote (právna veta) where there is one, and a provenance receipt. Where Lexomat holds only the metadata, the tool says text_available: false and returns null for the text, never an empty page.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
id | string | One of | The decision id as another tool returned it. |
ecli | string | One of | The ECLI, exact match. |
case_file_number | string | One of | The docket (spisová značka), exact match; several decisions may share one. |
court | string | No | Narrows a docket shared by several courts. |
passage, passage_end | integer | No | Return only paragraphs passage to passage_end instead of the whole text. |
max_chars | integer | No | Cap on the returned text; the response says when it was truncated. |
Returns
- Metadata — court, docket, ECLI, decision form, dates (publication and decision), the official
url;url_scope: volumemeans the link opens a whole collection volume, not this decision. portal_identification_number— the court portal's own identifier for the decision (not a link), so you can find it in the portal yourself;nullwhen we hold none.paragraphs— the text in numbered paragraphs, addressable by number in a later call.headnote— the published právna veta, when one exists.text_available,text_sha256— whether text is held, and its hash.receipt— proof the decision was retrieved in this conversation; pass it to Verify citations.- A docket shared by several decisions returns the candidates instead of picking one.
Example
Search case law returned a decision with a holding that matters. The calling AI calls get_decision with its id and reads the reasoning paragraphs around the holding, then quotes paragraph numbers in its answer.
Notes
- Deterministic, no LLM involved.
- Debits the corpus quota (see Usage limits).
- The receipt is what turns a citation's provenance from "exists" into "returned" in Verify citations.