Feishu cloud storage file management. Activate when user mentions cloud space, folders, drive.
Single tool feishu_drive for cloud storage operations.
From URL https://xxx.feishu.cn/drive/folder/ABC123 → folder_token = ABC123
{ "action": "list" }
Requests the account root (no folder_token). Bot credentials normally have no root folder, so
use a folder that has been shared with the bot instead.
{ "action": "list", "folder_token": "fldcnXXX", "page_size": 100 }
Returns one page of files with token, name, type, url, timestamps, and next_page_token when
another page is available. To continue, pass the returned token with the same folder token:
{
"action": "list",
"folder_token": "fldcnXXX",
"page_size": 100,
"page_token": "next-page-token"
}
page_size must be between 1 and 200. Pagination requires a concrete shared folder_token;
root-list cursors are not forwarded.
{ "action": "info", "file_token": "ABC123", "type": "docx" }
Searches for the file in the root directory. Note: file must be in root or use list to browse folders first.
type: doc, docx, sheet, bitable, folder, file, mindnote, shortcut
{ "action": "create_folder", "name": "New Folder" }
In parent folder:
{ "action": "create_folder", "name": "New Folder", "folder_token": "fldcnXXX" }
{ "action": "move", "file_token": "ABC123", "type": "docx", "folder_token": "fldcnXXX" }
{ "action": "delete", "file_token": "ABC123", "type": "docx" }
| Type | Description |
|---|---|
doc |
Old format document |
docx |
New format document |
sheet |
Spreadsheet |
bitable |
Multi-dimensional table |
folder |
Folder |
file |
Uploaded file |
mindnote |
Mind map |
shortcut |
Shortcut |
channels:
feishu:
tools:
drive: true # default: true
drive:drive - Full access (create, move, delete)drive:drive:readonly - Read only (list, info)tenant_access_token and don't have their own "My Space". The root folder concept only exists for user accounts. This means:create_folder without folder_token will fail (400 error)