Document and contents
get_documentA document's identity and its table of contents (turinys), WITHOUT its text. Call this before reading: the Civil Code (Civilinis kodeksas) runs to 1.7 million characters. Ids come from search results (įstatymas or nutartis). An ECHR id (coe.hudoc:) or application number gives the case's catalogue card: Avokata holds no ECHR text - read it at text_availability.where (HUDOC).
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": {
"document_id": "<document_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | Optional: one chapter or approved document of a long act - a label from its contents' `location` (`IV SKYRIUS`, `Darbo laiko ir poilsio laiko ypatumų ... aprašas`). Lists that part's units only; without it a long act's contents come by chapter. | |
| document_id | Yes | The `id` of a search hit, or the `document.id` beside it. NOT `document.number`, which is the act's official number (`XIII-2221`) and is not an id. | |
| jurisdiction | No | Which jurisdiction the id belongs to, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own. | |
| contents_limit | No | Optional: unit rows per page with `contents_offset`, default 400, at most 1,000 (a page also ends early to stay within the answer's size, and says where the next one starts). | |
| contents_offset | No | Optional: list the contents as unit rows from this position (0 = the first unit). A long document's contents otherwise come by chapter; every answer states the true total (`contents_page.units_total`) and the next offset. |