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