yuque_copy_repo
Batch copy documents to a target repository by providing a JSON array with titles, bodies, formats, and paths; creates TOC directories automatically.
Instructions
Batch copy documents to another repo. Agent provides cleaned documents array (title/body/format/paths). Tool creates TOC dirs and copies. 详见 references/api/extended_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return raw full JSON | |
| documents | Yes | JSON array of {title, body, format, paths, source_url?, source_title?}. paths is array of 1-5 directory paths. (required) | |
| target_book_id | Yes | Target repository ID or namespace (required) |