Fi Law Search
fi_law_searchSearch Finnish national legislation (Finlex: acts and decrees, consolidated text) by a word from the title, e.g. "tietosuoja" or "tyosopimuslaki" (Finnish) or "dataskydd" with lang="swe" (Swedish). By default only acts in force today; set in_force_only=false to include repealed ones. Optional year_from / year_to narrow by year of enactment. Returns up to 10 matches with id ("1050/2018" = number/year), title, in-force status, entry-into-force date and link. If there are more than 10, narrow with year_from / year_to or a longer title word. Pair with fi_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": "tietosuoja"
},
"name": "fi_law_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the text: fin (Finnish, default) or swe (Swedish) | |
| query | Yes | Word(s) from the title, e.g. "tietosuoja" (case-insensitive, matched inside the title) | |
| year_to | No | Latest year of enactment, e.g. 2020 | |
| year_from | No | Earliest year of enactment, e.g. 2000 | |
| in_force_only | No | Only acts in force today (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| lang | No | ||
| count | No | ||
| query | No | ||
| source | No | ||
| results | No | ||
| data_as_of | No | ||
| empty_reason | No | ||
| in_force_only | No | ||
| more_possible | No |