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 开放获取则返回空字符串
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |