# Read a decision

> One court decision by id, ECLI or case number: metadata, text in paragraphs, headnote, receipt.

<!-- html: https://lexomat.sk/en/doc/get-decision · sk: https://lexomat.sk/doc/get-decision.md · index: https://lexomat.sk/llms.txt -->
## 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.

> **Read-only, informational, not legal advice.** The text is Lexomat's stored copy and may contain recognition errors; `text_sha256` lets a passage be checked against the source. Do not send client, case or personal data.

## 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: volume` means 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; `null` when 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**.
