Congress.gov Enacted Laws
congressgov_enacted_lawsBrowse enacted public and private laws from Congress.gov by congress and law type ('pub' for public laws, 'priv' for private). 'list' filters by enactment status and law type — the discovery path 'bill_lookup' does not offer. 'get' returns the origin bill record (sponsor, actions, summaries, text), with the public/private law citation on the bill's 'laws' array (e.g. {"number":"118-2","type":"Public Law"}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page (1-250). | |
| offset | No | Pagination offset. | |
| lawType | No | Law type — 'pub' (public laws, general application, most common) or 'priv' (private laws, specific individuals or entities). Required for 'get'. | |
| congress | Yes | Congress number. | |
| lawNumber | No | Law number, as carried by a 'list' row's `laws[].number` — either the full citation ('118-90', rendered as 'Public Law 118-90') or the portion after the hyphen ('90'); the prefix is the congress and must match `congress`. Not the row's own `number`, which is the origin bill. Required for 'get'. | |
| operation | Yes | Which data to retrieve. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | Dynamic upstream JSON record. | |
| data | No | Result rows. Per-tool item shape is rendered in the markdown body. | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when results are empty, a page is past the end, or a caveat applies. | |
| pagination | No | Pagination metadata: total count and next offset. | |
| totalCount | No | Total results across all pages. | |
| effectiveQuery | No | The browse scope and applied filters. |