Search Documents
search_documentsSearch the US Federal Register by topic / keyword for proposed rules, final rules, notices, and presidential documents. Use this whenever the question mentions a SUBJECT ("EV tax credits", "AI export controls", "PFAS regulations", "clean energy", "ozempic labeling", etc.) — recent_rules takes no topic filter and would return random unrelated rules. Returns title, abstract, agency, publication date, links. Examples: search_documents({query: "EV tax credit", type: "rule"}), search_documents({query: "artificial intelligence", agency: "commerce-department"}), search_documents({query: "Strait of Hormuz", since: "365d"}). Pass since to constrain to recent documents — without it the relevance ranker can return decade-old docs for sparse-term queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Document type filter: "rule", "proposed_rule", "notice", "presidential_document" | |
| query | Yes | Search keywords (e.g., "clean energy tax credit") | |
| since | No | Publication date floor. Accepts ISO date ("2025-01-01") or shorthand ("30d", "12m", "365d", "1y"). Recommended for any topical search to avoid stale results — the relevance ranker can surface 2004-2008 documents for queries with sparse hits. | |
| agency | No | Agency slug filter (e.g., "environmental-protection-agency", "securities-and-exchange-commission") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query string | |
| total | Yes | Total count of matching documents | |
| returned | Yes | Number of documents returned in this response | |
| documents | Yes | Array of formatted Federal Register documents |