tooluniverse.tools.PMC_search_papers module

PMC_search_papers

Search for full-text biomedical literature using the PMC (PubMed Central) API. PMC is the free fu…

tooluniverse.tools.PMC_search_papers.PMC_search_papers(query, limit=10, retmax=None, date_from=None, date_to=None, article_type=None, include_abstract=False, *, stream_callback=None, use_cache=False, validate=True)[source]

Search for full-text biomedical literature using the PMC (PubMed Central) API. PMC is the free fu…

Parameters:
  • query (str) – Search query for PMC papers. Use keywords separated by spaces to refine your …

  • limit (int) – Maximum number of papers to return. This sets the maximum number of papers re…

  • retmax (int) – Alias for limit (NCBI eutils naming). If both retmax and limit are provided, …

  • date_from (str) – Start date for publication date filter (YYYY/MM/DD format). Optional paramete…

  • date_to (str) – End date for publication date filter (YYYY/MM/DD format). Optional parameter …

  • article_type (str) – Article type filter (e.g., ‘research-article’, ‘review’, ‘case-report’). Opti…

  • include_abstract (bool) – If true, attempts to enrich results with an abstract (best-effort) by fetchin…

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

list[Any]