PharmGKB Drug Search
pharmgkb.pharmacology.drug_searchSearch the PharmGKB curated drug/chemical database by name (e.g. warfarin, clopidogrel, tamoxifen, codeine). Returns PharmGKB ID, canonical name, trade names, generic names, drug types, SMILES, InChI, ATC code, ChEBI ID, DrugBank ID, and pediatric annotation flag. PharmGKB covers 3,000+ pharmacologically relevant compounds with PGx relationships. Source: PharmGKB, CC BY-SA 4.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Drug or chemical name to search for (e.g. warfarin, clopidogrel, tamoxifen, codeine). Searches PharmGKB curated database of 3,000+ pharmacologically relevant compounds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |