Si Law Get
si_law_getFetch one Slovenian regulation by id from si_law_search (e.g. "ZAKO7959" for the Personal Data Protection Act ZVOP-2) or by gazette record number (e.g. "2022-01-4187"). Returns title, abbreviation, type, status, Official Gazette citation with amendments, adoption/publication/in-force dates, issuing body, text versions, and the text. Default text is the newest unofficial consolidated version; pass article (e.g. "8" or "8a") for one article only, or version (e.g. "Osnovni", "NPB 1") for another text. Without article the text is capped at max_chars with a contents list.
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": "ZAKO7959",
"article": "8"
},
"name": "si_law_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Register id such as "ZAKO7959", numeric record id, or gazette record number "2022-01-4187" | |
| article | No | Article number, e.g. "8" or "8a" (returns that article only) | |
| version | No | Text version name from the versions list, e.g. "Osnovni" or "NPB 2" (default: newest) | |
| max_chars | No | Cap on returned text when no article is given (default 20000, max 100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| text | No | ||
| type | No | ||
| found | No | ||
| title | No | ||
| source | No | ||
| status | No | ||
| adopted | No | ||
| article | No | ||
| versions | No | ||
| issued_by | No | ||
| published | No | ||
| data_as_of | No | ||
| gazette_pdf | No | ||
| prepared_by | No | ||
| abbreviation | No | ||
| applies_from | No | ||
| text_version | No | ||
| article_title | No | ||
| gazette_issue | No | ||
| in_force_from | No | ||
| record_number | No | ||
| gazette_record | No | ||
| in_force_until | No | ||
| parliament_ref | No | ||
| legislative_ref | No | ||
| gazette_citation | No | ||
| text_version_note | No |