yuque_update_doc
Update an existing document in a Yuque knowledge base by specifying the repository and document ID, with optional changes to title, content, slug, or visibility.
Instructions
Update an existing document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Repo ID or namespace (e.g., "mygroup/mybook") | |
| doc_id | Yes | Document ID or slug | |
| title | No | New document title | |
| slug | No | New document slug | |
| body | No | New document content | |
| format | No | Content format for body. Omit or use markdown to write through the YMD-compatible flow; use lake/html for the legacy document API. | |
| public | No | Public visibility: 0 (private) or 1 (public) |