yuque_update_doc
Update a Yuque document's title, body, slug, format, or visibility. Provide document ID and repository to modify content and access level.
Instructions
Update a document title/body/slug/format/public. PUT /repos/:id/docs/:id. 详见 references/api/doc_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID or slug (required) | |
| raw | No | Return raw full JSON (default false, returns trimmed fields) | |
| body | No | Document body content | |
| slug | No | Document slug | |
| title | No | Title | |
| format | No | Content format: markdown / html / lake | |
| public | No | Visibility: 0=private, 1=public, 2=team-public | |
| book_id | Yes | Repository ID (numeric) or namespace like group/book_slug (required) |