Ee Law Get
ee_law_getFetch one Estonian legal act text version by id from ee_law_search (e.g. "130062026052" for the current Personal Data Protection Act). Returns title, abbreviation, type, issuer, adoption date, State Gazette citation, in-force dates and amendment list, and the text. Pass section (e.g. "6" or "10^1" for section 10 superscript 1) for one section only; without it the text is capped at max_chars with a contents list. Text is the consolidated version as published in Riigi Teataja, in Estonian.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "130062026052",
"section": "6"
},
"name": "ee_law_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Text-version id (globaalID) from ee_law_search, e.g. "130062026052" | |
| section | No | Section (paragrahv) number, e.g. "6", "10^1" for section 10 with superscript 1 | |
| max_chars | No | Cap on returned text when no section is given (default 20000, max 100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| text | No | ||
| type | No | ||
| found | No | ||
| title | No | ||
| issuer | No | ||
| source | No | ||
| adopted | No | ||
| section | No | ||
| text_kind | No | ||
| amendments | No | ||
| data_as_of | No | ||
| valid_from | No | ||
| valid_until | No | ||
| abbreviation | No | ||
| section_title | No | ||
| gazette_citation | No | ||
| status_of_this_version | No |