batch_process_articles
Process large PubMed article collections via batch operations, handling summaries, full records, BioC export, and text statistics with chunked processing and rate limiting.
Instructions
Process large sets of articles with batch operations.
Handles datasets of 10K+ articles efficiently with chunked processing and rate limiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | - "fetch_summaries": Get article metadata - "fetch_full": Get full records - "export_bioc": Export in BioC format - "text_statistics": Compute text statistics | fetch_summaries |
| batch_config | No | {"batch_size": 100, "parallel_workers": 3} | |
| input_source | Yes | Data source specification - {"from_search": {"query": "...", "database": "pubmed"}} - {"from_ids": ["pmid1", "pmid2", ...]} - {"from_pipeline": {"query_key": "1", "web_env": "..."}} | |
| output_format | No | "json", "csv", or "ndjson" | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||