yuque_update_doc
Modify an existing Yuque document by updating its title, body, slug, or public visibility. Provide document ID and repo ID to apply changes.
Instructions
Update an existing document
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_id": "<repo_id>",
"doc_id": "<doc_id>"
},
"name": "yuque_update_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New document content | |
| slug | No | New document slug | |
| title | No | New document title | |
| doc_id | Yes | Document ID or slug | |
| public | No | Public visibility: 0 (private) or 1 (public) | |
| repo_id | Yes | Repo ID or namespace (e.g., "mygroup/mybook") |