yuque_export_repo
Export all documents in a Yuque repository as Markdown files organized by table of contents, download images, and generate INDEX.md and GRAPH.md.
Instructions
Export all docs in a repo as Markdown files organized by TOC dir structure, with images downloaded and INDEX.md+GRAPH.md generated. 详见 references/api/extended_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | Repository ID (numeric) or namespace like group/book_slug (required) | |
| raw_body | No | Use raw body field instead of converting body_html to markdown (default false) | |
| output_dir | No | Output directory path (absolute or relative). Defaults to ./yuque-export/<book_slug>/ | |
| download_images | No | Download images to local (default true). Set false to skip download. |