Search food and drug recalls
search_food_drug_recallsUse this when the user asks about a recall of food, infant formula, a dietary supplement or a medicine, such as "was there a recall on this baby formula?" or "any supplement recalls this week?". Set category to "food" (human food, infant formula and supplements) or "drug", or leave it out and both are searched. For pet food use search_pet_food_recalls. Pass the product words as labels use them ("infant formula", "peanut butter"). Set withinDays for recent recalls, such as 7 for this week. Returns FDA enforcement reports, product-title hits before ingredient-text hits, each with matchKind ("product" or "text"), the class, product, reason, firm, lot codes and distribution. The matches count is text matches across reports, not a product total. It does not cover pet food, or meat, poultry and egg products regulated by USDA.
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": "search_food_drug_recalls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most recalls to return, newest first (default 5), up to 1000. At most 10 come back in one answer: a larger number is read as 10, and the answer says so. | |
| query | Yes | Product words as on the label, such as "infant formula", "peanut butter" or "ibuprofen" | |
| category | No | Optional. "food" covers human food, infant formula and dietary supplements (not pet food); "drug" covers medicines. Leave it out and both are searched, and each recall says which one it is. | |
| withinDays | No | Only recalls reported in the last this many days, such as 7 for this week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| notice | Yes | ||
| status | Yes | ||
| matches | No | Count of matching enforcement reports in openFDA (includes text and ingredient matches, not a product-recall total) | |
| message | No | ||
| recalls | No | ||
| category | No | ||
| categories | Yes | The categories this answer covers: the one asked for, or both when none was sent | |
| moreAvailable | No | ||
| unreadCategories | No | A list that could not be read this time: the answer is partial, names what it covers, and is not kept for a retry |