search_fda_enforcement_recalls
Search FDA food and drug enforcement recalls by keyword, retailer, classification, and lookback window to identify affected products, recalling firms, and severity scores.
Instructions
Search official openFDA Food & Drug Enforcement recalls (Class I / II / III) by productType ("food", "drug", or "both"), keyword query, retailer/distribution channel, FDA classification, and daysBack. Handles 0-match queries cleanly and returns normalized UPCs/NDCs, recalling firms, and 0-100 severity scores.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_fda_enforcement_recalls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional keyword filter across reason_for_recall, product_description, recalling_firm, or lot codes (e.g., "salmonella", "undeclared", "acetaminophen"). | |
| daysBack | No | Report date lookback window in days (1-3650). Default: 30. | |
| retailer | No | Optional retailer or distribution pattern filter (e.g., "Walmart", "Costco", "nationwide"). | |
| maxResults | No | Maximum FDA enforcement recalls to return (1-50). Default: 10. | |
| productType | No | openFDA enforcement feed to query: "food", "drug", or "both". Default: "both". | both |
| classification | No | Optional FDA hazard classification filter ("Class I", "Class II", "Class III"). |