Read a decision

    get_decision

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

    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

    NameTypeRequiredDescription
    idstringOne ofThe decision id as another tool returned it.
    eclistringOne ofThe ECLI, exact match.
    case_file_numberstringOne ofThe docket (spisová značka), exact match; several decisions may share one.
    courtstringNoNarrows a docket shared by several courts.
    passage, passage_endintegerNoReturn only paragraphs passage to passage_end instead of the whole text.
    max_charsintegerNoCap 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.