pubmed_fetch
Fetch full PubMed records—abstract, authors, journal, DOI, and MeSH terms—for up to 20 PMIDs, trimming long abstracts to protect the context window.
Instructions
Fetch full records (abstract, authors, journal, DOI, MeSH terms) for up to 20 PMIDs.
Abstracts longer than max_abstract_chars are cut and flagged, to protect the
context window. PMIDs that do not exist are left out of the result.
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": {
"pmids": "<pmids>"
},
"name": "pubmed_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmids | Yes | ||
| max_abstract_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |