Se Law Search
se_law_searchSearch Swedish national legislation (Svensk forfattningssamling, SFS: laws, ordinances and balkar) by word, in Swedish, e.g. "dataskydd" or "arbetsmiljo". Matches the whole text of each statute, ranked by relevance, so a word in the title ranks first. By default only statutes not marked repealed; set include_repealed=true to see repealed ones. Optional year_from / year_to narrow by year of issue. Returns up to 10 matches with id ("2018:218" = year:number, the SFS number), title, issue date, issuing ministry, repealed flag, how far it is amended and link. Pair with se_law_get for the text.
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": {
"query": "dataskydd"
},
"name": "se_law_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Swedish word(s), e.g. "dataskydd"; a word from the title ranks best | |
| year_to | No | Latest year of issue, e.g. 2020 | |
| year_from | No | Earliest year of issue, e.g. 2000 | |
| include_repealed | No | Also return statutes marked repealed (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| note | No | ||
| count | Yes | ||
| query | Yes | ||
| source | No | ||
| results | Yes | ||
| data_as_of | No | ||
| empty_reason | No | ||
| more_possible | No | ||
| total_matches | No | ||
| include_repealed | No |