What changed in the law
get_changesWhat changed in a law, or in the laws of a source or country: the articles whose wording changed, was inserted or repealed, newest first, with the day. A wording not yet in force is listed too. One law by its id gives all the changes held; a source or a jurisdiction goes five years back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | One law: an id from a result, or an identifier or citation. | |
| lang | No | Two-letter language, for texts that exist in several. | |
| limit | No | Lines to return, 1–500. Default 50. | |
| since | No | Only changes from this day on, YYYY-MM-DD. | |
| until | No | Only changes up to this day, YYYY-MM-DD. | |
| offset | No | Lines to skip, for the next page. | |
| source | No | Or the laws of one source id from list_sources. | |
| jurisdiction | No | Or the laws of one jurisdiction ("ch"). |