snapshot_papers
Save a named PubMed/preprint query and flag new papers since its last run; first run sets a baseline. Reuse the same name to track what changed.
Instructions
Snapshot a paper query (PubMed + optional preprints) and return papers new since the previous snapshot. Network call + local write: stores a new run under name in the local DB (BIOCATALYSTFEED_DB) and returns {run_id, baseline, records, changes, changes_detail}; the first call for a name is a baseline with no changes. Use search_papers for one-off lookups (no write) and paper_changes_since to re-read stored changes later.
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": {
"name": "<name>"
},
"name": "snapshot_papers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | No | Drug names or codes, OR'd. | |
| name | Yes | Watch name: a label you choose for this saved query. Reuse the same name to diff against its previous snapshot. | |
| since | No | Publication date from (YYYY-MM-DD). | |
| keyword | No | Raw query syntax for PubMed / Europe PMC. | |
| affiliation | No | Author affiliation phrases, OR'd (e.g. 'Viking Therapeutics'). | |
| preprint_days | No | Look back this many days for bioRxiv/medRxiv preprints; 0 skips preprints. |