query_variants
Search genetic variants by genomic range, rsID, gene name, or other criteria to retrieve annotated variant records for research and workflow integration.
Instructions
Search variants using genomic ranges, rsIDs, gene names, and other criteria
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": {
"q": "<q>"
},
"name": "query_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Query string (e.g., "rs58991260", "chr1:69000-70000", "dbnsfp.genename:CDK2") | |
| from | No | Number of results to skip (for pagination) | |
| size | No | Number of results to return (max 1000) | |
| sort | No | Comma-separated fields to sort on (prefix with "-" for descending) | |
| facets | No | Fields to return facets for (e.g., "cadd.polyphen.cat") | |
| fields | No | Comma-separated fields to return | all |