Search Legislation
search_legislationSearch Swiss national legislation via Fedlex by keywords, statute title, or number, with optional year filtering and result limits to locate relevant statutes and regulations.
Instructions
Search Switzerland (CH) national legislation (statutes, acts, codes, regulations, official gazette) via Fedlex - Swiss Federal Legislation API (fedlex.admin.ch) and live national legal archives.
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_legislation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional enactment year filter. | |
| limit | No | Maximum number of results to return. | |
| query | Yes | Keywords or statute title/number to search in Switzerland legislation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||