Resolve one drug identifier across open data sources
drugdata_resolve_identifiersResolve one drug, supplement, or cosmetic identifier across open databases, returning confident cross-source identity links and product ingredient details for unified lookup.
Instructions
Resolve one identifier across openFDA, CosIng, RxNorm, DrugCentral, DailyMed, DSLD, INKEEDecoder, and PubChem. Pass exactly one of unii, ndc, rxcui, cid (PubChem compound id), cas, inci_name, substance_name, spl_setid, or dsld_id. Ingredient identifiers return an identity graph of confident cross-source links with labeled candidate sets for ambiguity; product identifiers (ndc, spl_setid, dsld_id) return the product's cross-source links plus its ingredient rows. include_label_ingredients parses SPL XML for ingredient UNIIs — extra request, default false. resolve_ingredients runs the full resolution per ingredient — many requests on multi-ingredient products, default false — and returns graphs for a prefix of the ingredient rows, capped at 20. max_candidates caps the options per ambiguous source result. Results carry a compact confidence count and suggested follow-up calls. An identifier of the wrong shape is an error result naming the search tool that finds a valid one; zero matches are ordinary and in-band.
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": "drugdata_resolve_identifiers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cas | No | CAS Registry Number in dashed form, for example "50-78-2". | |
| cid | No | PubChem compound identifier — a positive safe integer, for example "56843331". | |
| ndc | No | National Drug Code — a 10- or 11-digit package NDC or a labeler-product NDC such as "00093-1046". | |
| unii | No | FDA Unique Ingredient Identifier — exactly 10 letters or digits, for example "R16CO5Y76E". | |
| rxcui | No | RxNorm concept identifier — numeric, for example "1191". | |
| dsld_id | No | NIH DSLD label id — a positive integer, as a number or digits. | |
| inci_name | No | INCI (cosmetic ingredient) name; a name lookup, not an exact identifier. | |
| spl_setid | No | DailyMed Structured Product Label set id — UUID-shaped, for example "a1e07d5c-2056-46f3-8737-f03ed0b4bae8". | |
| max_candidates | No | Maximum candidate options kept per ambiguous source result, 1-10. Default 5. | |
| substance_name | No | Substance or ingredient name; a fuzzy name lookup when no identifier is known. | |
| response_format | No | Text format: 'markdown' for a readable identity report, or 'json' for the structured result serialized as JSON. | markdown |
| resolve_ingredients | No | Runs full resolution per ingredient — many requests on multi-ingredient products, default false. | |
| include_label_ingredients | No | Parse SPL XML for ingredient UNIIs — extra request, default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||