count
Get the number of PubMed search hits without fetching citations. Use term, field, and date filters to check totals; use search when you need actual records.
Instructions
只取 PubMed 命中数,不取题录;需要题录直接用 search,避免重复检索。
term、field、日期参数规则同 search:英文词,大写 AND/OR/NOT,日期按发表日期。 返回实际执行式及 ⚠️;丢词/短语改写后的计数不能当原查询计数。0 条不证明主题无文献, 有命中也不证明原短语存在;确认短语须读取题录或摘要。完整解析可用 search(retmax=0, as_json=True)。
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": {
"term": "<term>"
},
"name": "count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| field | No | ||
| maxdate | No | ||
| mindate | No | ||
| reldate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |