create_wiki_doc
Create new documents in DingTalk Wiki knowledge bases, supporting text, spreadsheets, mind maps, and folders with proper permissions.
Instructions
在知识库中创建新文档(需要 Document.WorkspaceDocument.Write 权限)
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": {
"workspace_id": "<workspace_id>",
"name": "<name>"
},
"name": "create_wiki_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | 知识库工作空间 ID | |
| name | Yes | 文档名称 | |
| doc_type | No | 文档类型: DOC(文字), WORKBOOK(表格), MIND(脑图), FOLDER(文件夹) | DOC |
| parent_node_id | No | 父节点 ID(可选,不传则创建在根目录) | |
| content | No | 文档内容(可选) |