query_genes
Search BioThings gene records by symbol, name, genomic interval, or summary using flexible query syntax, with species, pagination, sorting, field, and facet controls.
Instructions
Search genes using flexible query syntax including symbols, names, genomic intervals, and more
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_genes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Query string (e.g., "CDK2", "symbol:TP53", "chr1:1000-2000", "summary:insulin") | |
| 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., "taxid,type_of_gene") | |
| fields | No | Comma-separated fields to return | symbol,name,taxid,entrezgene |
| species | No | Species filter (human, mouse, rat, etc.) | all |