search_pubmed_articles
Search PubMed for biomedical articles using specific keywords and optional filters like date range, publication types, and sorting. Retrieve PMIDs and brief summaries in JSON format.
Instructions
Searches PubMed for articles using a query term and optional filters (max results, sort, date range, publication types). Uses NCBI ESearch to find PMIDs and ESummary (optional) for brief summaries. Returns a JSON object with search parameters, ESearch term, result counts, PMIDs, optional summaries (PMID, title, authors, source, dates), and E-utility URLs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dateRange | No | Defines an optional date range for the search, including min/max dates and the type of date field to use. | |
fetchBriefSummaries | No | Number of top PMIDs for which to fetch brief summaries using ESummary v2.0. Set to 0 to disable. Maximum is 50 for this tool. Default is 0. | |
filterByPublicationTypes | No | An array of publication types to filter by (e.g., ["Review", "Clinical Trial"]). The server maps these to the appropriate Entrez query syntax (e.g., "Review"[Publication Type]). | |
maxResults | No | Maximum number of articles to retrieve. Corresponds to ESearch's 'retmax' parameter. Default is 20, max is 1000. | |
queryTerm | Yes | The primary keyword or phrase to search for in PubMed. Must be at least 3 characters long. | |
sortBy | No | Sorting criteria for results. Options: 'relevance' (default), 'pub_date', 'author', 'journal_name'. Note: Other sorting (e.g., last_author, title) may require client-side implementation or be future server enhancements. | relevance |