Drug label data with an LLM summary (openFDA)
drug_enrichLook up a drug by brand or generic name in openFDA to retrieve its first matching FDA label, including indications, warnings, dosage, adverse reactions, and interactions, plus a labeled LLM summary.
Instructions
Look up a drug by brand or generic name in openFDA and return its first matching FDA label: brand and generic name, manufacturer, NDCs, route, substance, product type, and the label's indications, warnings, dosage and administration, adverse reactions and drug-interactions sections (null when the label has no such section). Adds an LLM-generated summary, labelled as such: the therapeutic class and the indications the label states. It gives no treatment advice, does not check interactions between drugs, and makes no prior-authorization, coverage or cost determination. A failed call (drug not found, openFDA or the model unavailable) is refunded.
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": {
"drugName": "<drugName>"
},
"name": "drug_enrich"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drugName | Yes | Drug name (brand or generic, min 2 chars) | |
| searchField | No | Match the name against the label's brand name or generic name (default: brand_name) |