compare_versions
Compare the text of a CFR section at two dates to identify changes in regulatory amendments. Returns parsed text side-by-side for easy diffing.
Instructions
Compare the text of a CFR section at two different dates.
Useful for understanding what changed in a regulatory amendment. Returns the parsed text at both dates side by side. You can then diff the paragraphs to identify specific changes.
Dates must be in YYYY-MM-DD format and within the eCFR's tracking range (January 2017 to present). Both dates must not exceed the title's up_to_date_as_of value.
This tool always returns the section-level XML parsed -- pass a small section_id like '15.305', not a whole part. Whole-part comparisons can exceed 100 KB per side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section_id | Yes | ||
| date_before | Yes | ||
| date_after | Yes | ||
| title_number | No | ||
| chapter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||