Govinfo Search
government__govinfo-searchSearch U.S. government documents across GovInfo collections like laws, regulations, court opinions, and congressional records to find official references and metadata.
Instructions
[Government & Public Data Agent] Search across all U.S. Government Publishing Office (GPO) GovInfo collections (USCODE, CFR, PLAW, FR, USCOURTS, CREC, BILLS, etc.). Returns packageId / granuleId references plus basic metadata; use govinfo-package, govinfo-granule, or govinfo-content for the underlying documents. Source: GovInfo (GPO) (Public Domain), updates daily. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "clean water act",
"limit": 5
},
"name": "government__govinfo-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search term — GovInfo supports field filters like 'collection:(USCOURTS)', 'publishdate:range(2024-01-01,2024-12-31)', 'title:"fiduciary"' | |
| limit | No | Maximum results to return (1–100) | |
| offsetMark | No | Pagination token from the previous response's `offsetMark`. Start with '*' for the first page. | * |
| historical | No | Include historical documents in results (default: true) | |
| collection | No | Restrict to a single collection code (e.g. USCOURTS, PLAW, FR, CFR, USCODE, BILLS, CREC). Equivalent to adding 'collection:(CODE)' to the query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |