Cloud Docs Tools
This document details the cloud document tools.
Tool List
| Tool | Function |
|---|---|
| feishu_create_doc | Create cloud documents |
| feishu_fetch_doc | Get document content |
| feishu_update_doc | Update documents |
| feishu_doc_comments | Manage comments |
| feishu_doc_media | Insert/download media |
Create Document
Basic Usage
json
{
"title": "Document Title",
"markdown": "# Document Content\n\nThis is the body."
}Specify Folder
json
{
"title": "Meeting Notes",
"folder_token": "fldcnxxxxx",
"markdown": "# Meeting Notes\n\n## Topics\n\n1. Project Progress"
}Feishu Markdown Syntax
Supported Syntax
# Heading- Level 1 heading## Heading- Level 2 heading**Bold**- Bold text*Italic*- Italic text[Link](url)- Hyperlink- Image- List- Unordered list1. List- Ordered list> Quote- Quote block```code```- Code block
Update Document
| Mode | Description |
|---|---|
| append | Append to end |
| overwrite | Overwrite entire document |
| insert_before | Insert before position |
| insert_after | Insert after position |
Get Document Content
json
{
"doc_id": "doxcnxxxxx"
}Returns document content in Markdown format.
FAQ
Q: How to get folder_token?
Get from Feishu folder URL: https://xxx.feishu.cn/drive/folder/fldcnXXXX → fldcnXXXX
Q: How to insert images?
Use <image url="..."/> syntax:
markdown
<image url="https://example.com/image.png"/>