yuque_copy_doc
Copy a single Yuque document to another repository using cleaned title, body, format, and target paths. Use it to duplicate content across knowledge bases after fetching the source.
Instructions
Copy a single document to another repo. Agent fetches source via yuque_get_doc, cleans content, then calls this tool with title/body/format/paths. 详见 references/api/extended_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Document body, cleaned by Agent (required) | |
| paths | Yes | Directory paths, e.g. ["Java/Spring","Database/MySQL"]. 1-5 paths (required) | |
| title | Yes | Document title (required) | |
| format | Yes | Content format: markdown / lake / html (required) | |
| source_url | No | Source document URL, appended as footer link | |
| source_title | No | Source document title for the footer link | |
| target_book_id | Yes | Target repository ID or namespace (required) |