get_cfr_content
Fetch the full text of a CFR section, subpart, part, or appendix. Returns clean parsed text by default, or raw XML when original regulatory text is needed.
Instructions
Get the full text of a CFR section, subpart, part, or appendix.
This is the primary workhorse for reading regulatory text. Returns parsed clean text by default (heading, paragraphs, citations, plus tables and editorial_notes when present). 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)
appendix='Appendix A to Chapter 2' (with chapter='2') for a DFARS appendix
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, HSAR, 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, and trailing paragraph cites like section='15.305(a)(2)' resolve to the base section '15.305'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| part | No | ||
| chapter | No | ||
| raw_xml | No | ||
| section | No | ||
| subpart | No | ||
| appendix | No | ||
| title_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||