Feishu cloud document management: create documents, view document metadata, and retrieve document content.
Invocation
Invoke via the channel tool's action parameter:
| Action | Description |
|---|---|
create_doc |
Create a new Feishu cloud document |
read_doc |
Retrieve document metadata (title, revision version, etc.) |
read_doc_content |
Retrieve the document's raw text content |
Parameters
create_doc
| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | No | Document title |
| folder_token | string | No | Target folder token |
read_doc / read_doc_content
| Parameter | Type | Required | Description |
|---|---|---|---|
| document_id | string | Yes | Document ID |
Example
创建一个名为"周报"的文档
→ channel(action="create_doc", title="周报")
读取文档内容
→ channel(action="read_doc_content", document_id="doxcnXXX")
Automatic Execution Principles
- folder_token optional: When creating a document, if folder_token is omitted, it is created in the user's root directory; do not ask the user which folder to put it in.
- Intelligent title inference: When the user says "create a document", automatically generate a title based on the context; do not ask the user what to name it.
- Chained automatic execution: After retrieving document metadata, if the user needs the content, automatically call
read_doc_content; do not ask for a second confirmation. - No interactive menus: Do not present options for the user to choose from; directly perform the most reasonable operation.
Security Level
read_doc/read_doc_content: L1 read-only, no approval requiredcreate_doc: L3 high impact, approval required