Get legislation by SR number
get_law_by_srLook up a Swiss act by its SR number to get official-language titles, in-force status, and Fedlex links; other acts sharing the number are listed separately.
Instructions
Look up one act of the Classified Compilation by its SR number (e.g. '220' Code of Obligations, '235.1' Data Protection Act). Returns titles in all official languages, in-force status and Fedlex links for the act currently in force; other acts sharing the SR number (e.g. repealed predecessors) are listed separately under other_acts.
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": {
"sr_number": "<sr_number>"
},
"name": "get_law_by_sr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sr_number | Yes | SR number, e.g. '220', '235.1', '101' |