Compare dates
compare_datesHow a provision changed between two dates: a word-level diff of its text on date_a and its text on date_b, and the laws that took effect after date_a, up to and including date_b.
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": {
"path": "<path>",
"date_a": "<date_a>",
"date_b": "<date_b>"
},
"name": "compare_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A provision file, for example united-states/federal/usc/title-11/1182.md, from find_provision. | |
| date_a | Yes | An in-force date, YYYY-MM-DD, or "today". | |
| date_b | Yes | An in-force date, YYYY-MM-DD, or "today". | |
| offset | No | Where the part starts, in characters: the offset the previous part gave for the next one (default 0). | |
| max_chars | No | Longest part of the text in one answer (default 40000, at least 1000, at most 100000). A longer text comes in parts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||