Search Warning Letters
fda_search_warning_lettersSearch official FDA warning letters with full-text content from the FDA website. Use keyword search for the actual letter body, or filter by company name, issuing office, subject, MARCS-CMS number, product type, or letter issue date. Adds prospecting filters: status (open|responded|closed, derived from response/closeout dates), letter_category (CGMP-manufacturing | BIMO | listing | OPDP/promotion | 503B/compounding | import — heuristic, derived from issuing_office/subject/product_type), and violation_theme (cgmp_subsystem | data_integrity | validation | bimo | listing | promotion — keyword/FTS-derived over subject+body). Set dedupe=true to collapse near-identical letters sharing a MARCS-CMS case number to one canonical row. Each row exposes derived status and letter_category, plus fei_number for one-hop navigation to fda_citations and fda_inspections. This adds narrative context beyond fda_compliance_actions, which only contains dashboard metadata. NOTE: violation_theme and letter_category are best-effort heuristics over free-text fields; keyword cannot be scoped to a parsed cited-violations sub-section because the corpus only stores subject + full letter body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (1-500) | |
| dedupe | No | Collapse letters sharing a MARCS-CMS case number to one canonical row (recommended for prospecting) | |
| offset | No | Result offset for pagination | |
| status | No | Derived status: closed (has closeout date), responded (has response date), or open | |
| date_to | No | End date for letter_issue_date range (YYYY-MM-DD) | |
| keyword | No | Full-text query for the warning letter body and subject | |
| subject | No | Subject line text (partial match) | |
| date_from | No | Start date for letter_issue_date range (YYYY-MM-DD) | |
| company_name | No | Company name (fuzzy match) | |
| product_type | No | Product type from the letter page (e.g. Drugs, Devices, Food) | |
| issuing_office | No | Issuing office or center name (partial match) | |
| letter_category | No | Heuristic category derived from issuing_office/subject/product_type | |
| violation_theme | No | Heuristic violation theme derived from subject and letter body text | |
| marcs_cms_number | No | MARCS-CMS case number shown on the letter page |