legal_search_us_code
Search the United States Code, public laws, congressional bills, and CFR by keyword to find official federal legal text; use a free GovInfo API key for regular access.
Instructions
Full-text search of the United States Code, public laws and congressional bills via GovInfo (US Government Publishing Office). Works without setup at low volume; set GOVINFO_API_KEY (free api.data.gov key) for regular use.
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": {
"query": "<query>"
},
"name": "legal_search_us_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per source (default: 10, max: 50) | |
| query | Yes | Search terms, e.g. 'limited liability company' or '"section 6038A"' | |
| collection | No | Restrict to one collection (default: US Code + public laws + bills) |