Search alleles
pgx_search_allelesInspect CPIC allele function, evidence and definition metadata for geneSymbol. Set includePopulationFrequencies=true to join complete source frequencies. Name matches literally first, then a matching gene prefix before a star allele may be removed; clinicalFunctionalStatus matches literal text case-insensitively. Discover genes with pgx_list_reference. Definitions are metadata, not variant interpretation. Frequencies are source fractions; inferred frequencies are not observations and do not establish individual risk. Continue with page.nextOffset.
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": {
"geneSymbol": "<geneSymbol>"
},
"name": "pgx_search_alleles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact source allele name; blank means unset. | |
| limit | No | Positive safe-integer row limit; values above 100 are clamped to 100 with a notice (default 25). | |
| offset | No | Zero-based offset; use nextOffset to continue (default 0). | |
| geneSymbol | Yes | Gene symbol, such as CYP2C19 or HLA-B; outer whitespace is ignored. | |
| clinicalFunctionalStatus | No | Case-insensitive literal source clinical functional status; blank means unset. | |
| includePopulationFrequencies | No | Join complete population-frequency evidence for the returned alleles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective public page limit. | |
| page | No | Source pagination metadata. | |
| error | No | Present when the call failed. Absent on success. | |
| items | No | Complete source allele rows, embedded definitions and requested population frequencies. | |
| shown | No | Number of returned rows, equal to page.returned. | |
| notices | No | Notices about this result; empty when none apply. | |
| truncated | No | Whether more matching rows remain after this page. | |
| provenance | No | Live source attribution and retrieval details. | |
| effectiveQuery | No | Effective allele selectors and page bounds. |