Search ingredients across open drug and cosmetic data sources
drugdata_search_ingredientsSearch ingredients across openFDA, CosIng, DrugCentral, RxNorm, PubChem, and INKEEDecoder by name or identifiers to retrieve evidence-grouped records and source-attributed conflicts.
Instructions
Search ingredients across openFDA, CosIng, DrugCentral, RxNorm, PubChem, and INKEEDecoder. Start free text with type 'name'; use inci, unii, cas, ec, rxcui, or cid when that is the value you have. There is no ingredient category filter. Returns evidence-grouped entities with original records, confirmed links, source-attributed conflicts, unconfirmed candidates, and per-entity nextSteps. For source+id use drugdata_get_ingredient instead. Default searches return lightweight evidence without identity resolution; resolve_identities: true opts in to enrichment of at most five entities, concurrency three, within the shared 45-second default deadline. Read partial, coverage, and sources (status ok/error/timeout); completed results survive a timeout. One page applies to every source and re-queries all of them; each source's hasMore is independent. Selectively fetch supplied URLs only when more page content is needed. No matches is normal, not an error.
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": {
"type": "<type>",
"query": "<query>"
},
"name": "drugdata_search_ingredients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for the fan-out, starting at 1. One page applies to every source and re-queries all of them. | |
| type | Yes | What to search by: 'name', 'inci' (INCI name), 'unii', 'cas' (CAS Registry Number), 'ec' (EC number), 'rxcui' (RxNorm concept id), or 'cid' (PubChem compound id). | |
| query | Yes | The search value, as text or an identifier. | |
| response_format | No | Text format: 'markdown' for a readable grouped report, or 'json' for the structured result serialized as JSON. | markdown |
| resolve_identities | No | Opt in to identity enrichment for at most five entities, concurrency three. Default false: return lightweight search evidence and resolution nextSteps. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| type | Yes | ||
| query | Yes | ||
| partial | Yes | ||
| sources | Yes | ||
| coverage | Yes | ||
| entities | Yes | ||
| nextSteps | Yes | ||
| truncated | Yes | ||
| entitiesOmitted | Yes |