start_export_task
Starts an asynchronous batch export of blog articles to Markdown, PDF, Word, HTML, TXT, or ZIP, returning a task ID so long-running jobs can be polled instead of blocking.
Instructions
启动异步批量导出任务(Markdown/PDF/Word/HTML/TXT + 双模态 ZIP 归档)。长耗时任务立即返回 task_id,用 get_export_task 轮询。支持博主主页、微信合集、catalog_id 精选或显式 URL 列表。部分抓取失败按 on_partial_failure 自动决策,绝不挂起等待人工确认。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_export_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | 博主主页链接、公众号合集链接或换行分隔的多条文章 URL;与 catalog_id / article_urls 三选一 | |
| date_to | No | ||
| platform | No | 目标平台 | auto |
| date_from | No | ||
| end_index | No | ||
| use_cache | No | ||
| batch_size | No | 分批每批篇数;留空时超 800 篇自动按 500 篇/批拆分 | |
| catalog_id | No | 可选:基于 list_author_articles 返回的 catalog_id 导出,免去重复检目录并保留专栏/分类元数据 | |
| image_mode | No | 配图模式:compressed 推荐压缩图 / original 高清原图 / none 纯文本无图(RAG 语料首选) | compressed |
| output_dir | No | 可选自定义保存目录(须在允许目录白名单内),留空使用默认导出目录 | |
| start_index | No | ||
| article_urls | No | 可选:显式指定要导出的文章 URL 列表(若同时传 catalog_id 则从中精确匹配元数据) | |
| max_articles | No | ||
| export_formats | No | 导出格式列表,默认仅 ['md'] 兼顾速度;系统始终自动附带双模态 ZIP 归档包 | |
| group_by_column | No | 知乎按专栏 / 新浪博客按栏目分组打包 | |
| on_partial_failure | No | 当部分文章抓取失败时的自动处理策略,防止挂起死锁 | skip_and_export |
| enable_noise_filter | No | ||
| zhihu_content_types | No | ||
| author_name_override | No | ||
| remove_image_watermark | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| task_id | Yes | ||
| platform | Yes | ||
| output_dir | Yes |