search_pubmed
Search PubMed literature and retrieve key metadata like title, authors, journal, publication date, and DOI for each result, with adjustable result count and sorting by relevance, date, or citation count.
Instructions
Search PubMed and return slim metadata for each hit.
Two-step under the hood: esearch gets PMIDs, esummary gets
title/authors/journal/pubdate/DOI for each. Use fetch_article next
when you need the full abstract for a specific result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: 'relevance' (default), 'pub_date' (newest first), or 'most_cited' (proxy via NCBI ranking). | relevance |
| query | Yes | PubMed query — free text or full PubMed query syntax. Examples: 'JAK2 inhibitor selectivity', 'CRISPR base editing[TI] AND 2024[DP]'. | |
| max_results | No | Max PMIDs to return. Default 20, hard cap 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||