download_book
Downloads a selected Z-Library candidate as EPUB or PDF, validates the file, and optionally sends it to CWA for ingestion.
Instructions
从显式选择的 Z 候选下载 EPUB/PDF 原文件并在 MCP 内校验。start 需要 request_id、candidate_id、required_format,默认 save_to_cwa:true,将同一文件自动交给 CWA;仅下载用 false。get_task.download.status 为 available 后可用 get_download_url 获取无需账号认证的书源链接,由 Agent 的 HTTP 工具保存并读取。collection 独立报告入库结果。collect 用 task_id 将未过期缓存补入 CWA;retry/cancel 使用 task_id。取票不明或链接过期不自动重新消耗额度。不交付 CWA 转换后的文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | start | |
| task_id | No | ||
| request_id | No | ||
| save_to_cwa | No | ||
| candidate_id | No | ||
| required_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||