yuque_create_doc
Create a document in a Yuque repository by providing its title, content, and optional format.
Instructions
创建新文档 (Create new 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": {
"repoId": "<repoId>",
"title": "<title>",
"content": "<content>"
},
"name": "yuque_create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | Yes | 知识库ID (Repository ID) | |
| title | Yes | 文档标题 (Document title) | |
| content | Yes | 文档内容 (Document content) | |
| format | No | 文档格式,默认markdown (Document format, default markdown) |