Statute Section Text
get_us_statute_section_textFetch the full text of a US statute, regulation, or rule section by act_id as styled HTML or plain text, so you can quote, draft against, or analyze the actual statutory language.
Instructions
The full text of a US statute, regulation or rule section by act_id. Returns styled HTML (with cross-references and paragraph numbering as officially published) and plain text. Use when you need the actual statutory language to quote, draft against, or analyze rather than just cite. A section the publisher prints as images answers bodyUnavailable: true with image_only_source and no text, and is not charged.
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": {
"act_id": "<act_id>"
},
"name": "get_us_statute_section_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | Text as it stood on this date (`YYYY-MM-DD`), same cost. Read `asOf.engine` first. `observed_change` is a RECONSTRUCTION from observed changes, not an archive: `asOf.isBounded` true means no change affecting the date was observed, limited by when capture began, not by the law. `stored_edition` (U.S. Code, CFR_ANNUAL, Copyright Compendium, OFAC FAQs) is a held published edition, and there `isBounded` true means the date is inside one; the U.S. Code holds two dates, so most are out of coverage. A section we cannot rebuild, or a date no held edition governs, returns `source: "unavailable"` with no text and is refunded. | |
| act_id | Yes | Section identifier, e.g. `USC_T42_C21_S1983` (Title 42, Chapter 21, Section 1983, written 42 U.S.C. 1983). Take it from a search result rather than assembling it: the title and section are derivable from a citation but the CHAPTER is not, so hand-built ids usually 404. | |
| format | No | Which representations to return. `both` (default) is `html` + `plain`, the same text twice, so `plain` or `html` alone roughly halves the payload at the same price. `all` adds `markdown` (a third full copy, opt-in). `markdown` returns only `markdown`, falling back to `plain` with a `note` when the section has no structured rendering. `content` and `operative` return only the split text, about 1 KB instead of 30 KB on a long section, but ONLY United States Code sections can be split: elsewhere they return `plain` with a `note`, and `content` is null, so read `note` instead of assuming it is empty. | both |
| layout | No | Line-break layout of the returned text. `reflowed` (the default) joins hard-wrapped lines into paragraphs, keeping a break before headings, `(a)` / `1.` labels, table rows and signature blocks. `source` returns the line breaks exactly as extracted from the publisher's document. Same cost. The response's `layout` says which one was served. Reflow never changes the words, and a structured `r2_render` body (tables and figures) is returned as rendered under either value. `pinpoint` offsets index into the text of the layout you asked for. | reflowed |
| pinpoint | No | Return one subsection in `pinpoint` beside the whole body. Parenthesised labels, outermost first, without the section number: `(c)`, `(c)(1)`, `(d-1)`. Same cost. Malformed, or sent with `asOf`, is an uncharged 422. Read `pinpoint.matched`: a missing subsection is `matched: false`, never the whole section. | |
| structured | No | When true, also returns a `subsections` tree for pincite addressing and `markdown` as that tree in nested lists, at the same cost. It overrides the table-preserving markdown that `format=all` or `markdown` would otherwise give, so leave it off when you need the tables. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||