yuque_update_doc
Update an existing document in a Yuque knowledge base by specifying its document and repository IDs, with optional title, content, and format changes.
Instructions
更新文档 (Update 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": {
"docId": "<docId>",
"repoId": "<repoId>"
},
"name": "yuque_update_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | 文档ID (Document ID) | |
| repoId | Yes | 知识库ID (Repository ID) | |
| title | No | 文档标题 (Document title) | |
| content | No | 文档内容 (Document content) | |
| format | No | 文档格式 (Document format) |