Read a law, an article or a decision
get_documentRead a document or one part of it in its official wording: a whole short text, one article (element), everything under a chapter, or the text as it stood on a date. One article of a law comes with the leading decisions on it: those cited most by the decisions that cite the article. Long documents come in pieces; the answer says how to continue.
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": {
"id": "<id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Read the text in force on this day, YYYY-MM-DD. Default: the current text. | |
| id | Yes | An id from a result, or an identifier or citation: an ECLI, a CELEX number, "BGB", "art. 6:162 BW". | |
| from | No | Continue reading from this element id (given by a previous answer). | |
| lang | No | Two-letter language, for texts that exist in several. | |
| cases | No | With one article of a law: the leading decisions on it. Default true. | |
| element | No | The part to read: an element id from a result or outline (art_6:162, par_823, chp_2) or its number as written ("6:162", "823"). | |
| history | No | With element: also list the periods of every version of it. | |
| max_tokens | No | Size of the answer in tokens, 200–8000. Default 1500. |