Search federal legislation
search_federal_lawFind Swiss federal law by title or abbreviation and get SR number, official title, abbreviation, and Fedlex link for citation.
Instructions
Search the Swiss Classified Compilation (SR/RS) of federal law by title or abbreviation (e.g. 'data protection', 'OR', 'Datenschutz'). Exact abbreviation/title matches are ranked first. Returns SR number, title, abbreviation and the official Fedlex link. Search in the language of your query term (German titles for German terms, etc.).
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": {
"query": "<query>"
},
"name": "search_federal_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Title keyword or abbreviation, e.g. 'Datenschutz', 'obligations', 'DSG' | |
| language | No | Language of titles to search | de |
| in_force_only | No |