lookup_pmcid
Convert a PubMed ID (PMID) to its corresponding PMCID via NCBI's elink API. Returns the PMCID if the article is open-access in PMC, otherwise an empty string.
Instructions
通过 NCBI elink API 查询 PMID 对应的 PMCID。
Args:
pmid: PubMed ID(如 "42534757")
Returns:
PMCID(如 "PMC7440785");若文章未在 PMC 开放获取则返回空字符串
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": {
"pmid": "<pmid>"
},
"name": "lookup_pmcid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |