Search the law
search_lawFind the statutory provision (teisės akto straipsnis) that governs a question. PASS THE QUERY IN THE LANGUAGE THE LAW IS WRITTEN IN. Lithuanian law: in Lithuanian. An English query is not translated for you and does not work - measured 2026-08-28 on 23 questions a lawyer had answered from the corpus, Lithuanian found the confirmed article for 10 of them and English for 0, and the English attempts did not come back empty, they came back wrong. If the user writes in another language, translate INTO Lithuanian and use the term of art a Lithuanian lawyer would type: ieškinio senaties terminas, darbo sutarties nutraukimas, nuomos sutartis, servitutas, juridinio asmens pertvarkymas. EU and international acts: Lithuanian where a Lithuanian text is held, else the source language; every result says its lang, and a translation you give the user is labelled as yours with its source. Searches acts and codes (įstatymai ir kodeksai) in the consolidated version in force now. Returns pinpoints (article numbers), not summaries. Follow up with read_paragraphs to read the text, or cited_by to see how the courts have read it. jurisdictions accepts several for a matter that spans countries. codes names the code the question belongs to (CPK, BPK, ABTĮ, CK, DK) and you should pass it for anything PROCEDURAL. Every procedural code has articles with the same headings, different numbers and different time limits, so an answer from the wrong one looks exactly like an answer from the right one: measured 2026-08-28, four of ten procedural questions returned their top hit from the wrong code, including a civil cassation deadline answered from the criminal procedure code. jurisdictions selects the law's scope, not the user's language; there is no separate language argument. For an article's wording on a past date, find its id here and use read_paragraphs with on_date. The complete search answer obeys max_chars; response_budget identifies deferred metadata and its recovery. An answer that holds only part of the ranked results carries paging.next: the same call for the next page, ready to run (the cursor in it keeps the same ranking, so no result comes twice and none is skipped). Call it when the answer you need is not among the rows shown; offset jumps to a position. Draft legal acts are held too: a draft answers in its own drafts section, never among the acts in force, and describe names which drafts are held and how often they refresh. Example arguments: {"query": "ieškinio senaties terminas", "jurisdictions": ["LT"], "codes": ["CK"], "limit": 5}.
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": {
"query": "<query>"
},
"name": "search_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| also | No | Other phrasings of the SAME question, each fused as its own ranking - up to 4. Pass one only when it is a genuinely DIFFERENT ANGLE: the legal term of art, or the noun phrase a provision heading would be written in. Do NOT pass the same sentence reworded, which was measured to make results worse (hit@5 12 to 10). You are the one who knows what a different angle on this question is, which is why this is offered rather than applied automatically. | |
| codes | No | Restrict to named codes by their short form (`CK`, `CPK`, `BK`, `DK`). The fastest way to ask 'what does the Civil Code say about this'. | |
| limit | No | How many passages to return, default 10. Each carries its own pinpoint, so a larger number is more context rather than more documents. | |
| query | Yes | The question or the provision, in the language of the law asked about: IN LITHUANIAN for Lithuanian law (an English query returns unrelated results rather than none); EU or international material in Lithuanian where it has a Lithuanian text, else in its source language (English, French). Both forms work: a citation (`CK 6.217`) or a phrase (`esminis sutarties pažeidimas`). There is no separate article filter, and no date filter: this tool answers about law in force NOW. | |
| cursor | No | The `cursor` from the previous answer's `paging.next`, with the same query and filters: the next page of the SAME ranking (no result twice, none skipped, the rows the size cap left out first). Omit for the first page. | |
| detail | No | `compact` (the default) returns each passage with its pinpoint and an excerpt of up to ~250 characters around your terms (narrower, never below a sentence piece of ~130, when many rows share max_chars), plus `text_chars`; read the whole text with read_paragraphs(document_id=<row id>). `full` returns the whole text of every row. | compact |
| offset | No | Start the page at this position of the ranking (0 = the first result). Usually not needed: an answer that holds only part of the ranked results carries `paging.next`, the same call for the next page, ready to run. | |
| in_force | No | True (the default) searches only acts in force. Set false to include repealed ones - which is a different question from what governed on a past date; for that, find the act and ask `check_validity` with `on_date`. | |
| act_types | No | Narrow by the register's own type of act, e.g. `Įstatymas`, `Kodeksas`, `Nutarimas`. Omit to search every type. | |
| max_chars | No | A hard cap on the answer's size in characters, default 15000. Every row is first narrowed (a ~150-character excerpt), then rows are dropped from the end (the lowest-ranked) to fit, and `truncated` says how many and how to get them; data_as_of, notes and caveats are never cut. | |
| act_number | No | Search inside ONE act by its official register number (`XII-2603`), a Government resolution's or an order's number (`496`, `Nr. 496`, with its year to choose among resolutions of other years: `2017 m. birželio 21 d. nutarimas Nr. 496`) or a code abbreviation the map knows (`DK`, `CK`, `CPK`). Lawyers search by Nr.; this is how you restrict to that act without naming every article. A number or an abbreviation only: an act you know by its title goes in `query`. | |
| document_id | No | The act to search, by the `id` a search hit carries (`lt.e-tar:TAR...`). It is the act selector for `occurrences=True` and scopes a plain search to that one act; with `occurrences=True`, two or more ids separated by commas name a set of acts, each read whole. A register number carried by several acts is not an id: the answer then lists the acts that carry it and names none of them as the act meant - pass one of those ids, or name the act's adoption date beside its number. The id of an article (`...#15`) is accepted by read_paragraphs, not here. | |
| occurrences | No | True lists EVERY place a phrase is said, in any inflection (each word by its stem; `taisykl*` names a stem), with a count and the forms found - a reading, not a ranking. One act as `document_id`, `act_number` or a single `codes` entry gives that act's exhaustive list, in the shape it always had. Two or more acts - a comma-separated `document_id` list or several `codes` - gives every provision of each, with `occurrences.per_act` ordered by `total` descending then `document_id` ascending; with no act named the phrase is looked for across the jurisdiction, the first 3 acts the phrase index nominates are read whole (`occurrences.candidate_bound`), and the answer says it is not exhaustive and how to widen it. Use it to check "X is mentioned only in articles ...". | |
| jurisdictions | No | Which jurisdictions to search, as codes. Held: `LT` (Lithuania), `EU` (European Union). Omit it and only the account's main jurisdiction is searched: a jurisdiction the service adds later never changes such a call. A list is searched exactly as given, so name the main one too when the question spans it. Where EU law applies directly (data protection, VAT, consumer protection, competition and the other EU-governed areas), add `EU`; an answer whose question touches EU law says so in `eu_relevance`, with the acts and the call to make. Adding a country you do not hold does not fail; the answer names what was unavailable. | |
| include_amending_acts | No | False (the default) leaves out amending acts (`... pakeitimo įstatymas`): an amending act says what changed, not what the law is, and this tool answers which provision governs. The answer says how many it left out. Set true to date a change or read the amendment itself. |