新建飞书文档
feishu_doc_createCreates an empty Feishu docx document in a chosen cloud folder and returns its document_id, so agents can store results in a shareable file for later reading or editing.
Instructions
在云空间里新建一个空的 docx 文档,返回 document_id,后续可用 feishu_doc_read 读回校验。使用场景:需要把结果沉淀成一份飞书文档、并且希望它在云空间里可被同事打开时。只建空文档,不写正文内容;需要正文请建完后再用其它编辑能力写。前置条件(重要):当前应用缺 docx:document:create,调用大概率返回 99991672。真失败了不要重试、也不要换参数硬试,去开放平台开通 docx:document:create 并重新发布版本。folder_token 不填等于建在应用自己的根目录(通常同事看不到,建议显式给一个已共享的文件夹)。
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": {
"title": "<title>"
},
"name": "feishu_doc_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 新文档标题(就是云空间里显示的文件名)。 | |
| folder_token | No | 建在哪个文件夹下;不填则建在应用根目录。token 可从 feishu_drive_list 的 folder 条目拿。 |