diff
Compare two PubMed query result sets to identify PMIDs added or lost in the second query relative to the first, helping verify search-term changes.
Instructions
对比两个 PubMed 查询的结果集:b 相对 a 新增、丢失了哪些 PMID。 检索式迭代前后核对增减;两查询都须在 9999 窗口内,超窗报错(先缩小或改用 export)。 max_show 默认 20、上限 200,文本档每侧只展示部分;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_a": "<term_a>",
"term_b": "<term_b>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term_a | Yes | ||
| term_b | Yes | ||
| as_json | No | ||
| max_show | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |