yuque_create_doc
Create new documents in Yuque repositories by specifying repo, title, content, format, and visibility settings.
Instructions
Create a new document in a repo/book
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Repo ID or namespace (e.g., "mygroup/mybook") | |
| title | Yes | Document title | |
| slug | No | Document slug (URL-friendly identifier) | |
| body | No | Document content (markdown or lake format) | |
| format | No | Content format: markdown, lake, html | |
| public | No | Public visibility: 0 (private) or 1 (public) |