get_latest_date
Fetches the current valid date for a CFR title to avoid 404 errors on eCFR versioner endpoints, then pass it to other tools. Defaults to Title 48.
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 | |||