Get a legal source
get_legal_sourceFetch one row from the register by its layer and identifier: a Swedish statute (se), a guiding decision (praxis), an EU act (eu), a US rule (us) or a finance glossary term (finance). Includes identifiers, dates, official source URL and related sources.
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": {
"layer": "<layer>",
"id": "<id>"
},
"name": "get_legal_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Slug or id, e.g. 'kamerabevakningslagen', 'nja-2019-s-638', 'gdpr-2016-679', 'inflation'. | |
| lang | No | Language for labels. | sv |
| layer | Yes | Which register layer the identifier belongs to. |