validate_citation
Verify Finnish legal citations against an authoritative database and receive warnings for repealed or amended provisions.
Instructions
Validate a Finnish legal citation against the database.
Parses the citation, checks that the document and provision exist, and returns warnings about status (repealed, amended). This is the zero-hallucination enforcer.
Supported formats:
"Laki 1050/2018 1 luku 1 §"
"1050/2018 1:1"
"SFS 2018:218 1 kap. 1 §" (legacy compatibility)
"Prop. 2017/18:105"
"SOU 2017:39"
"NJA 2020 s. 45"
When NOT to use: If you want to format a citation string, use format_citation. This tool checks existence in the database.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"citation": "<citation>"
},
"name": "validate_citation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citation | Yes | Citation string to validate |