get_cfr_content
Retrieve the full text of any CFR section, subpart, or part. Returns parsed clean text or raw XML by specifying the title, date, and scope.
Instructions
Get the full text of a CFR section, subpart, or part.
This is the primary workhorse for reading regulatory text. Returns parsed clean text by default (heading, paragraphs, citations). Set raw_xml=True to get the original XML instead.
Specify the narrowest scope possible to keep responses manageable:
section='15.305' for a single FAR section
subpart='15.3' for a subpart
part='15' for an entire part (can be large)
chapter='1' for an entire chapter (often >1 MB, avoid)
Date auto-resolves to the latest available if not provided. Do NOT use today's date directly -- eCFR lags 1-2 business days and today often 404s.
Title 48 = FAR/DFARS. Chapter 1 = FAR (Parts 1-99), Chapter 2 = DFARS (Parts 200-299). Other chapters = agency FAR supplements (GSAR, VAAR, etc.).
For DFARS clauses, use chapter='2' (e.g., section='252.227-7014').
part/subpart/section accept int or string. Common prefix mistakes like section='FAR 15.305' or '48 CFR 15.305' are stripped automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title_number | No | ||
| date | No | ||
| part | No | ||
| subpart | No | ||
| section | No | ||
| chapter | No | ||
| raw_xml | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||