Search changes
search_changesSearch the record of changes (each commit message: the law, its dates, what it did) rather than the text of the law. For example "temporary", "COVID", "Bundesrat". With start and end, the changes in force from start to end, both days included.
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_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | The latest in-force date to include, YYYY-MM-DD or "today". Defaults to no end, so changes not yet in force are included. | |
| kind | No | laws (default; "law" is read the same): law only. judgments: court decisions (case law) only. all: both. A jurisdiction that names case law (a path ending in /caselaw) reads it too. | |
| query | Yes | Words to look for in the change notes, as plain text; upper and lower case match alike. | |
| start | No | The earliest in-force date to include, YYYY-MM-DD. Defaults to the start of the record. | |
| offset | No | Rows to skip: the next_offset the answer before gave in "page" (default 0). | |
| max_results | No | At most this many (default 30, at most 200). | |
| jurisdiction | No | Optional jurisdiction prefix, for example "germany", "united-states/federal" or "united-kingdom/uk/legislation/uksi". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||