scan_pubmed_alerts
Scan PubMed daily for recent papers matching your query and insert results into news briefs for easy review.
Instructions
Scan PubMed for recent papers matching a query.
Uses NCBI E-utilities (free, no API key required). Results are inserted
into news_briefs with source_type='article'. Safe to call daily from the
morning scan scheduler job.
Args:
query: PubMed search query. Defaults to the query in user-preferences.json
(pubmed_query field), then to your configured research field from
user-config.yaml, then to a generic global-health fallback.
reldate: Look back this many days (default: 1 = yesterday + today).
max_results: Maximum papers to retrieve (default: 15).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| reldate | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |