PharmGKB Variant Lookup
pharmgkb.pharmacology.variant_lookupLook up pharmacogenomic details for a genetic variant by dbSNP rsID, including drug-response significance, associated genes, variant type, and ClinVar IDs.
Instructions
Look up pharmacogenomic details for a genetic variant by dbSNP rsID (e.g. rs1799853 for CYP2C92, rs4244285 for CYP2C192, rs12248560 for CYP2C19*17). Returns variant ID, change classification (Missense/Synonymous/Intronic), clinical significance (drug-response/pathogenic), variant type (SNP/Indel), chromosomal position (GRCh38), associated genes, rarity flag, and ClinVar IDs. Focused on variants with known drug-response relevance. Source: PharmGKB, CC BY-SA 4.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rsid | Yes | dbSNP reference SNP ID for the variant (e.g. rs1799853, rs4244285, rs12248560). Must be prefixed with "rs" followed by digits. PharmGKB annotates variants with known pharmacogenomic relevance. |
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. |