Se Law Get
se_law_getFetch one Swedish statute by its SFS number "year:number", e.g. "2018:218" (the Act with supplementary provisions to the EU Data Protection Regulation); "SFS 2018:218" is accepted too. Returns title, SFS citation, issue date, ministry, whether the Riksdag marks it repealed (with repeal date and the repealing act) and how far it is amended, then the text in Swedish. Pass section (e.g. "5", "3 a", or "2:1" for chapter 2 section 1, since chapters restart section numbers) for one section only; without it the text is capped at max_chars with a chapter list. A section with scheduled changes returns each version with the Riksdag's own marker line.
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": "2018:218",
"section": "2:1"
},
"name": "se_law_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | SFS number as "year:number", e.g. "2018:218" | |
| section | No | Section number, e.g. "5" or "3 a"; with chapters use chapter:section, e.g. "2: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 | ||
| hint | No | ||
| note | No | ||
| text | No | ||
| found | Yes | ||
| title | No | ||
| issued | No | ||
| source | No | ||
| section | No | ||
| chapters | No | ||
| citation | No | ||
| ministry | No | ||
| repealed | No | ||
| versions | No | ||
| truncated | No | ||
| data_as_of | No | ||
| repealed_by | No | ||
| repealed_on | No | ||
| total_chars | No | ||
| empty_reason | No | ||
| section_count | No | ||
| source_updated | No | ||
| amended_through | No |