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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"book_id": "<book_id>"
},
"name": "yuque_export_repo"
}
}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. |