download_batch
Fetch multiple JMComic albums or chapters in bounded parallel batches, wait for the full result, and export as ZIP, PDF, or long images.
Instructions
有界批量下载并等待整批结果,支持 album/photo 和 zip/pdf/long_img 导出。
并发参数沿用 jmcomic JmSyncRuntime:album_workers=同时下载本子数(默认3,kind=album专用), photo_workers=全批章节数,image_workers=全批图片数;后两项默认沿用 download.threading.photo/image。 返回与 get_download_task 相同的结构:保序去重 items、unfinished_ids、failed_ids、 真实图片/导出路径、task_id/log_path/report_path。部分失败返回 partial,全部失败 failed。 items 的 id 保留请求编号,actual_id 是上游实际本子/章节编号;不同时向用户说明两者。 适合短批次;需要提前拿到 task_id、轮询及主动取消时使用 start_download。 MCP Context 自动注入,用于实时进度通知;调用方断开时协作取消并等待工作线程退出。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| kind | No | album | |
| album_workers | No | ||
| image_workers | No | ||
| photo_workers | No | ||
| export_formats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||