normalize_drug_name
Resolve drug names to RxNorm concepts, correcting misspellings and mapping brand names to canonical ingredients. Use it to normalize uncertain drug text before querying other tools.
Instructions
Resolve a drug name to its RxNorm concept, correcting spelling if needed.
Use this first when a drug name is misspelled, is a brand name, or comes from user text you are unsure about, then pass the canonical name to the other drug tools.
On an exact match, returns matched: true with the RxCUI, canonical name, and term type (IN is an ingredient, BN a brand name). Otherwise returns matched: false with ranked candidates. Candidates are suggestions, not confirmed answers -- each names the endpoint it came from, and a spelling_suggestion is stronger evidence of intent than a merely similar approximate_term. Confirm with the user before treating one as the drug they meant.
Args: name: The drug name as written, e.g. "metfromin", "Glucophage", or "metformin".
Returns: The resolved concept, or candidates when there was no exact match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||