Mygene Info Query
mygene_info_queryFull-text gene query.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "BRCA1"
},
"name": "mygene_info_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1-1000 (default 10). | |
| sort | No | ||
| query | Yes | e.g. "BRCA1", "symbol:TP53 AND taxid:9606" | |
| fields | No | Comma-sep return fields. | |
| species | No | NCBI taxonomy id or common name (default human). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | Array of gene matches | |
| took | No | Query execution time in milliseconds | |
| total | No | Total number of matching genes |