get_latest_date
Retrieve the most recent available eCFR date for a CFR title, then pass it to versioner endpoints to avoid 404 errors from the 1-2 day publication lag.
Instructions
Get the most recent available date for a CFR title.
CRITICAL: eCFR lags 1-2 business days behind the Federal Register. Using today's date on versioner endpoints causes 404 errors. Call this first to get the safe date, then pass it to other tools.
Default title 48 = Federal Acquisition Regulations System (FAR, DFARS, and all agency supplements). Other common titles: 2 (Grants/Agreements), 5 (Administrative Personnel), 29 (Labor), 41 (Public Contracts).
Raises ValueError for titles 1-50 that are reserved (no content).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||