regulations_get_cfr_section
regulations_get_cfr_sectionRead the codified text at a CFR location via eCFR — current or as of a past date. Answers "what does 40 CFR 50.1 say today?" and "...as of 2019-01-01?". Three locations: title + part + section for one section; title + part alone for the whole part, with its Authority and Source notes, an index of its sections, and the names of its appendices; title + appendix for one appendix, passing the identifier exactly as regulations_browse_cfr emits it. A section can be written as people cite it — "61", "§ 141.61", "141.61(c)", or the full cite "40 CFR 141.61" in part 141 all read 40 CFR 141.61 — and a part as "Part 141"; the response names the identifier it read. Text comes back as a window of up to 64,000 characters (max_chars raises it to 200,000) with the total length and, when text remains, the offset to resume from; whole parts run to millions of characters, so page with offset or read a single section. eCFR retains historical versions from 2017 through the title's up-to-date date; a date outside that window is rejected with the window named. Current single-section reads are served from a synced local mirror when it holds the title's latest eCFR issue; the source is reported.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "regulations_get_cfr_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Point-in-time date, ISO 8601 (YYYY-MM-DD). Default current. eCFR serves 2017-01-01 through the title's up-to-date date, usually a few days behind today; a date outside that window is rejected, naming the window. | |
| part | No | CFR part within the title (e.g. "50"). Parts can be alphanumeric; a leading "Part" or "Pt." is dropped ("Part 141" reads part 141). Required unless appendix is given, where it is optional but recommended: an appendix identifier is unique within a part, not within a title, so without a part eCFR picks one of the matches. Obtain from regulations_browse_cfr or a Federal Register document's cfrReferences. | |
| title | Yes | CFR title number (1–50). E.g. 40 for "Protection of Environment". | |
| offset | No | Character offset into the text where the window starts (default 0). Pass bodyTextNextOffset from the previous call to read on, or a sections[].offset from a whole-part read to jump to that section. | |
| section | No | Section within the part, normally written part.section as eCFR identifies it ("141.61"). Also accepted: the number alone ("61" in part 141), a leading "§" or "Sec.", a paragraph cite ("141.61(c)"), which reads the whole section, and the full cite this tool returns as cfrCite ("40 CFR 141.61", "14 CFR 241 § 25"), whose title has to match title. Identifiers eCFR writes differently are read as given — 14 CFR 241 numbers its sections "25" and "1-1". Omit to fetch the entire part. Cannot be combined with appendix. | |
| appendix | No | Appendix identifier, verbatim as eCFR writes it — the `appendix` field or the leading phrase of the `cfrCite` on a regulations_browse_cfr appendix node or search hit. It is free-form prose, not a letter: "Appendix A-1 to Part 50", "Appendix A to Subpart C of Part 4", "Schedule I to Part 789", "Special Federal Aviation Regulation No. 88". Pass the whole phrase; a short form such as "A-1" matches nothing. Cannot be combined with section. | |
| max_chars | No | Most text characters to return in this window (at least 1, default 64,000, capped at 200,000 with a notice). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The issue/point-in-time date the text reflects (ISO 8601). | |
| part | No | CFR part; null only for an appendix that hangs off a chapter, subchapter, or subtitle rather than a part. | |
| error | No | Present when the call failed. Absent on success. | |
| notes | No | The part's editorial, general, and OMB control-number notes, in document order; empty when it has none. Present only on a whole-part read. | |
| title | No | CFR title number. | |
| notice | No | That max_chars was above its ceiling, how a part or section written another way was resolved, that hierarchyPath holds only the cited levels when eCFR could not supply the rest, and guidance when the offset is at or past the end of the text. | |
| source | No | Provenance: the synced mirror, or the live eCFR API. | |
| cfrCite | No | Assembled cite — "40 CFR 50.1" for a section, "40 CFR 50" for a part, "Appendix A-1 to Part 50, Title 40" for an appendix (eCFR's own form, leading with the identifier this tool takes back as `appendix`). | |
| heading | No | Section, part, or appendix heading — for a whole part, the part's own ("PART 141—NATIONAL PRIMARY DRINKING WATER REGULATIONS"). | |
| section | No | Section identifier that was read — the resolved form when the input was written differently ("141.61" for "§ 141.61(c)"); null when a whole part or an appendix was fetched. | |
| appendix | No | Appendix identifier; null when a section or whole part was fetched. | |
| bodyText | No | One window of the location's text, starting at bodyTextOffset, XML stripped to plain text. A whole part's text is each section's heading and body in order. Paragraphs, subheadings, editorial notes, tables (one pipe-delimited line per row), figure references ("[Figure: /graphics/…]"), a section's own statutory authority and OMB control-number note, and its trailing source citation are kept in document order; part-, subpart-, and subject-group-level Authority and Source are not (see authority, sourceNote, and sections[]). Superscripts read ^x and subscripts _x, braced where the run would otherwise be ambiguous (3 × 10^−8, SO_2, CO_{2}e); a footnote reference or label reads [n]; diacritics and overlines are Unicode combining marks on their base character (x̄, R̅M̅). The source citation is the bracketed Federal Register history a section ends in ("[36 FR 22384, Nov. 25, 1971, as amended at 81 FR 68276, Oct. 3, 2016]") — to reach the rulemaking that produced this text, pass one of its cites from 1994 on to regulations_search_rules as citation ("81 FR 68276") with the date printed beside it as citation_date ("2016-10-03"). Empty when the offset is at or past the end, or where the location is a placeholder carrying nothing but its heading ("[Reserved]"). | |
| sections | No | Present only on a whole-part fetch — the part's sections whose text falls in this window, in order, without their text (bodyText carries it). A section that begins before the window and runs into it is included, so its offset can be below bodyTextOffset. Empty when the offset is past the end. To list every section and appendix of a part without reading its text, use regulations_browse_cfr in structure mode with title and part. | |
| authority | No | The part's Authority — the statutes it is issued under, without the "Authority:" label; null when the part states none. Present only on a whole-part read. A subpart or subject group that states its own carries it on its sections[] entries; a single-section or appendix read carries no part- or subpart-level notes, so read the whole part for them. | |
| appendices | No | Present on a whole-part fetch when the part has appendices — their identifiers and headings, without their text. A part's appendices routinely run several times the length of its sections, so they are not inlined; call this tool again with `appendix` set to one of these identifiers to read it. Absent means the part has no appendices; a single-section or appendix fetch never carries this field. | |
| sourceNote | No | The part's Source note — the Federal Register document it was issued in, without the "Source:" label ("40 FR 59570, Dec. 24, 1975, unless otherwise noted."), which holds for every section with no source citation of its own; null when the part states none. Not to be confused with source, which names the corpus that answered. Present only on a whole-part read; subpart and subject-group Source notes ride on sections[] entries. | |
| hierarchyPath | No | Human-readable hierarchy path, title down to the location read ("Title 40 › Chapter I › Subchapter D › Part 141 › Subpart G › § 141.61"). When eCFR cannot supply it, only the cited levels ("Title 40 › Part 141 › § 141.61"), and notice says so. | |
| bodyTextLength | No | Characters in the location's whole text. | |
| bodyTextOffset | No | Character offset bodyText starts at. | |
| bodyTextNextOffset | No | Offset to pass as offset to read the next window — present only when text remains past this window. |