govinfo_bill_text
Retrieve exact legislative text of U.S. bills with section numbers, legal citations, and specific provisions from GovInfo for detailed legal analysis.
Instructions
Get the FULL legislative text of a bill from GovInfo — the actual law language with section numbers, dollar amounts, legal citations, and provisions.
IMPORTANT: Try congress_bill_summaries first for a quick CRS summary (~500-2000 chars). Only use this tool when the user needs exact legislative language, specific provisions, or dollar amounts from the bill text.
Use preview_only=true first to check bill size before loading. Bills range from 5k chars (simple resolutions) to 500k+ (omnibus/appropriations). Default limit is 100k chars.
Version suffixes: enr (enrolled/signed), eh (engrossed House), es (engrossed Senate), ih (introduced House), is (introduced Senate)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| congress | Yes | Congress number (e.g., 119, 118, 117) | |
| bill_type | Yes | Bill type | |
| bill_number | Yes | Bill number (e.g., 1, 5376) | |
| version | No | Bill version: 'enr' (enrolled/signed, default), 'eh' (engrossed House), 'es' (engrossed Senate), 'ih' (introduced House), 'is' (introduced Senate) | |
| max_length | No | Maximum characters to return (default: 100000). Most bills fit within 100k. Set higher (e.g. 500000) for large omnibus bills, or 0 for no limit. | |
| preview_only | No | When true, returns only metadata (title, pages, character count, estimated tokens) WITHOUT the actual text. Use this to check bill size before loading. Default: false. |