Esearch
esearchSearch an Entrez database (e.g. pubmed, gene, nucleotide) by query term and return a list of matching UIDs (up to 10,000) with hit count. Supports pagination via retstart and sort (e.g. pub_date).
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": {
"db": "pubmed",
"term": "BRCA1 mutations"
},
"name": "esearch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | ||
| sort | No | e.g. "pub_date" (PubMed), "relevance" | |
| term | Yes | ||
| retmax | No | 1-10000 (default 20) | |
| retstart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||