wecomcli-disk

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

企业微信微盘

WeCom Disk

执行任何
wecom-cli
命令前,必须先读取并完成
wecomcli-shared
技能的公共前置检查。
资源型 skill,负责微盘文件的列出、搜索、读取信息、上传、下载、重命名与新建文件夹。
Before executing any
wecom-cli
command, you must first read and complete the public pre-checks in the
wecomcli-shared
skill.
This is a resource-type skill responsible for listing, searching, reading information, uploading, downloading, renaming files, and creating new folders in WeCom Disk.

适用范围

Scope of Application

适用

Applicable Scenarios

  • 列出微盘最近查看的文件
  • 按关键词/类型/创建者/共享空间搜索微盘文件或文件夹
  • 读取微盘文件基础信息
  • 上传本地文件到微盘指定文件夹
  • 下载微盘文件到本地
  • 重命名微盘文件
  • 在微盘中新建文件夹
  • List recently viewed files in WeCom Disk
  • Search for files or folders in WeCom Disk by keywords/type/creator/shared space
  • Read basic information of WeCom Disk files
  • Upload local files to a specified folder in WeCom Disk
  • Download WeCom Disk files to local device
  • Rename WeCom Disk files
  • Create new folders in WeCom Disk

不适用

Non-Applicable Scenarios

  • 移动微盘文件或文件夹 → 告知用户暂未支持,建议前往企业微信客户端手动操作
  • 删除微盘文件 / 复制微盘文件 → 告知用户暂未支持,建议前往企业微信客户端手动操作
  • 删除 / 重命名微盘文件夹(
    folder
    )、调整目录树结构 → 告知用户暂未支持,建议前往企业微信客户端手动操作
  • 创建 / 删除共享空间(
    space
    )、修改空间成员与空间设置 → 告知用户暂未支持,建议前往企业微信客户端手动操作
  • 给机器人授予某空间的权限 / 把机器人加入共享空间成员 → 微盘没有该功能,任何渠道都做不到(客户端也不行)。禁止向用户提出这类建议,也不要引导用户"联系空间管理员给机器人授权"
  • 修改文件分享权限、生成分享链接、撤销分享、设置访问密码 / 有效期 → 告知用户暂未支持,建议前往企业微信客户端手动操作
  • 微盘文件版本管理(查看历史版本、恢复旧版本、比对版本) → 告知用户暂未支持
  • 撤销 / 修改已上传的文件(覆盖上传 / 秒传 / 断点续传) → 告知用户暂未支持;如需替换,请重新走「上传文件」上传一份新文件
  • 解析微盘文件的内容(正文提取、OCR、看图问答、PDF/Word/Excel 解析等) → 本 skill 负责把文件下载到本地拿
    file_path
  • 视频 / 音频文件的转写或字幕生成 → 告知用户暂未支持
  • 持续监视微盘变更 / 实时通知新文件到达 → 无法主动监视,不要承诺「有新文件时告知你」,请让用户稍后主动再次发起查询
  • Moving WeCom Disk files or folders → Inform users that this function is not supported yet, and suggest manual operation via the WeCom client
  • Deleting/copying WeCom Disk files → Inform users that this function is not supported yet, and suggest manual operation via the WeCom client
  • Deleting/renaming WeCom Disk folders (
    folder
    ), adjusting directory tree structure → Inform users that this function is not supported yet, and suggest manual operation via the WeCom client
  • Creating/deleting shared spaces (
    space
    ), modifying space members and settings → Inform users that this function is not supported yet, and suggest manual operation via the WeCom client
  • Granting a robot permission to a space / adding a robot to shared space members → WeCom Disk does not have this function, which cannot be achieved through any channel (including the client). Prohibit making such suggestions to users, and do not guide users to "contact the space administrator to authorize the robot"
  • Modifying file sharing permissions, generating sharing links, revoking sharing, setting access passwords/validity periods → Inform users that this function is not supported yet, and suggest manual operation via the WeCom client
  • WeCom Disk file version management (viewing historical versions, restoring old versions, comparing versions) → Inform users that this function is not supported yet
  • Undoing/modifying uploaded files (overwrite upload, instant upload, resumable upload) → Inform users that this function is not supported yet; if replacement is needed, re-upload a new file via the "upload file" process
  • Parsing the content of WeCom Disk files (text extraction, OCR, image-based Q&A, PDF/Word/Excel parsing, etc.) → This skill is responsible for downloading the file to local device and returning the
    file_path
  • Transcribing video/audio files or generating subtitles → Inform users that this function is not supported yet
  • Continuously monitoring WeCom Disk changes / real-time notifications for new files → Active monitoring is not possible; do not promise "to notify you when new files arrive", please ask users to initiate a query again later

路由决策(判断本 skill / 其他 skill)

Routing Decision (This Skill / Other Skills)

用户输入信号路由到
明确提"微盘 / 网盘 / disk / Wecom 网盘"本 skill
提供
https://drive.weixin.qq.com/s?k=...
链接(微盘分享 URL)
本 skill(作为
get
/
download
url
入参)
提供
https://doc.weixin.qq.com/<doc|sheet|smartsheet|smartpage>/...
链接
对应
wecomcli-doc
/
wecomcli-sheet
/
wecomcli-smartsheet
/
wecomcli-smartpage
在线文档
doc
/
sheet
/
smartsheet
/
smartpage
的读写内容
同上对应文档 skill
改文档权限 / 加成员 / 改文档名(针对 doc/sheet/smartsheet/smartpage)
wecomcli-doc-manage
注意:
doc.weixin.qq.com
/
page.weixin.qq.com
是在线文档域名,
drive.weixin.qq.com
才是微盘域名,切勿混用。
User Input SignalRoute To
Explicitly mentions "Disk / Cloud Drive / disk / Wecom Cloud Drive"This skill
Provides a link in the format
https://drive.weixin.qq.com/s?k=...
(WeCom Disk sharing URL)
This skill (used as the
url
parameter for
get
/
download
)
Provides a link in the format
https://doc.weixin.qq.com/<doc|sheet|smartsheet|smartpage>/...
Corresponding
wecomcli-doc
/
wecomcli-sheet
/
wecomcli-smartsheet
/
wecomcli-smartpage
Reading/writing content of online documents
doc
/
sheet
/
smartsheet
/
smartpage
Corresponding document skills as above
Modifying document permissions / adding members / renaming documents (for doc/sheet/smartsheet/smartpage)
wecomcli-doc-manage
Note:
doc.weixin.qq.com
/
page.weixin.qq.com
are domains for online documents, while
drive.weixin.qq.com
is the domain for WeCom Disk. Do not confuse them.

文件类型枚举

File Type Enumeration

doc
(在线文档)、
sheet
(在线表格)、
ppt
(在线幻灯片)、
collect
(收集表)、
mind
(思维导图)、
flow
(流程图)、
smartsheet
(智能表格)、
smartpage
(智能主页)、
journal
(汇报)、
pdf
(PDF)、
offline_word
(离线 Word)、
offline_excel
(离线 Excel)、
offline_ppt
(离线 PPT)、
offline_pdf
(离线 PDF)、
image
(图片)、
videoaudio
(视频音频)、
design
(设计稿)。在线文档保持原名,离线文件用
offline_
前缀区分。腾讯文档不在本 skill 范围,按【路由决策】表改走对应文档 skill。
在线/离线模糊时同时搜:用户说「Excel」「Word」「PPT」「PDF」等未明确在线还是离线时,
file_types
同时传入在线版和离线版(如
["sheet", "offline_excel"]
),避免遗漏。其余类型按上方枚举名按字面对应传入即可。
doc
(online document),
sheet
(online spreadsheet),
ppt
(online slides),
collect
(collection form),
mind
(mind map),
flow
(flowchart),
smartsheet
(smart spreadsheet),
smartpage
(smart homepage),
journal
(report),
pdf
(PDF),
offline_word
(offline Word),
offline_excel
(offline Excel),
offline_ppt
(offline PPT),
offline_pdf
(offline PDF),
image
(image),
videoaudio
(video and audio),
design
(design draft). Keep the original names for online documents, and use the
offline_
prefix to distinguish offline files. Tencent Documents are not within the scope of this skill; route to corresponding document skills according to the Routing Decision table.
Search both online and offline when ambiguous: When users mention "Excel", "Word", "PPT", "PDF", etc. without specifying online or offline, pass both online and offline versions in
file_types
(e.g.,
["sheet", "offline_excel"]
) to avoid omissions. For other types, pass the corresponding enumeration names as they are.

接口详述

Interface Details

列出文件

List Files

获取用户微盘最近查看的文件列表,支持分页。
命令
bash
wecom-cli disk files list --json '{"limit": 10}'
入参
字段类型必填默认值说明
cursor
string
""
分页游标;不传或传空串则获取首页数据
limit
number10每页返回的最大条数;不传则使用服务默认值,最大 100
返回
字段类型说明
has_more
boolean是否还有更多数据;
true
时用
next_cursor
续取
next_cursor
string下一页游标
files[].id
string文件 ID 或文件夹 ID
files[].file_name
string文件名称
files[].docid
string文档 ID,仅
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
时有意义
files[].type
string文件类型:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
/
flow
/
mind
files[].file_size
number文件大小(字节);仅
type=file
时有意义
files[].creator_userid
string创建者 userid
files[].space_id
string所属共享空间 ID
files[].space_name
string所在共享空间名称
files[].folder_id
string所在文件夹 ID
files[].folder_name
string所在文件夹名称
files[].create_time
string创建时间,
YYYY-MM-DD HH:mm:ss
files[].update_time
string最后更新时间,
YYYY-MM-DD HH:mm:ss
files[].path
string文件完整路径
files[].doc_url
string文档打开链接,仅在线文档类型(
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
)时填充
Retrieve the list of recently viewed files in the user's WeCom Disk, supporting pagination.
Command
bash
wecom-cli disk files list --json '{"limit": 10}'
Parameters
FieldTypeRequiredDefault ValueDescription
cursor
stringNo
""
Pagination cursor; if not passed or passed as an empty string, retrieve the first page of data
limit
numberNo10Maximum number of items returned per page; if not passed, use the service default value, maximum 100
Return
FieldTypeDescription
has_more
booleanWhether there is more data; use
next_cursor
to retrieve the next page when
true
next_cursor
stringCursor for the next page
files[].id
stringFile ID or folder ID
files[].file_name
stringFile name
files[].docid
stringDocument ID, only meaningful for
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
files[].type
stringFile type:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
/
flow
/
mind
files[].file_size
numberFile size (bytes); only meaningful for
type=file
files[].creator_userid
stringCreator userid
files[].space_id
stringID of the associated shared space
files[].space_name
stringName of the shared space
files[].folder_id
stringID of the parent folder
files[].folder_name
stringName of the parent folder
files[].create_time
stringCreation time, in
YYYY-MM-DD HH:mm:ss
format
files[].update_time
stringLast update time, in
YYYY-MM-DD HH:mm:ss
format
files[].path
stringFull path of the file
files[].doc_url
stringDocument opening link, only filled for online document types (
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
)

搜索文件

Search Files

按关键词、文件类型、创建者、共享空间、排序等条件搜索微盘文件、文件夹或共享空间。
命令
bash
wecom-cli disk files search --json '{"keywords": ["季度汇报"], "search_type": "file", "sort_by": "modify_time", "sort_order": "desc", "limit": 10}'
入参
字段类型必填默认值说明
keywords
string[]选填字面关键词数组,长度 0~20(or 关系);与
creator_userids
/
search_type
/
file_types
四选一,至少传一个
creator_userids
string[]选填限定创建者
userid
列表,长度 0~50,不传则不过滤;与
keywords
/
search_type
/
file_types
四选一,至少传一个;用户给的是姓名时通过
wecomcli-contact
解析为
userid
search_type
string选填
all
查询范围枚举:
all
/
file
(文件)/
folder
(文件夹)/
space
(共享空间);与
keywords
/
creator_userids
/
file_types
四选一,至少传一个
file_types
string[]选填限定文件类型,长度 0~10;可选
doc
/
sheet
/
ppt
/
collect
/
mind
/
flow
/
smartsheet
/
smartpage
/
journal
/
pdf
/
offline_word
/
offline_excel
/
offline_ppt
/
offline_pdf
/
image
/
videoaudio
/
design
(在线文档保持原名,离线文档用
offline_
前缀区分);不得传枚举外的值;与
keywords
/
creator_userids
/
search_type
四选一,至少传一个
space_keywords
string[]限定所在空间名称的关键词,长度 0~10,or 关系;命中的 space 会被作为搜索范围;不传则不限空间;附加过滤条件,不能单独触发搜索
sort_by
string
best_match
排序方式:
best_match
/
modify_time
/
file_size
;不得传枚举外的值
sort_order
string
desc
排序方向:
asc
/
desc
;仅在
sort_by=modify_time
file_size
时需传
cursor
string分批拉取增量 key,上一次请求返回的
next_cursor
;不传则从头开始
limit
number10每页最大返回条数,最大 100
返回
字段类型说明
has_more
boolean是否还有更多数据;
true
时用
next_cursor
续取
next_cursor
string下一页游标
files[].id
string微盘文件 ID / 文件夹 ID / 空间 ID
files[].type
string命中项类型:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
flow
/
mind
/
journal
/
collect
files[].file_name
string名称(文件名 / 文件夹名 / 空间名)
files[].file_size
number文件大小(字节),仅
type=file
时有意义
files[].creator_userid
string创建者 userid
files[].space_id
string所在共享空间 ID
files[].space_name
string所在共享空间名称
files[].folder_id
string所在父文件夹 ID;位于空间根目录时等于
space_id
files[].folder_name
string所在文件夹名称
files[].path
string文件完整路径;
space_name
folder_name
同名时不一定是父子关系,可能平级,以
path
为准判断层级
files[].create_time
string创建时间,
YYYY-MM-DD HH:mm:ss
files[].update_time
string最近更新时间,
YYYY-MM-DD HH:mm:ss
files[].docid
string文档 ID,仅
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
时有意义
files[].doc_url
string文档打开链接,仅在线文档类型时填充;可直接作为在线文档分享链接发送给用户/群,无需额外处理
files[].title_highlight
string[]标题命中关键词的高亮摘要片段;
type=space
时为空
files[].text_highlight
string[]正文命中关键词的高亮摘要片段;
type=space
时为空
在线文档命中项处理约束——极重要:搜索返回的
type
若为
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
journal
/
collect
/
mind
/
flow
,这些是在线协作文档(正文存云端,非二进制文件),禁止
disk files download
(会失败或拿到空壳),也不适合走
disk files get
。其中
smartsheet
/
smartpage
/
sheet
/
word
有对应的下游 skill 可读正文,路由见文末【跨技能依赖】表;
ppt
/
journal
/
collect
/
mind
/
flow
目前没有任何下游 skill 或 CLI 能读取正文
,命中这些类型且用户要看内容时,直接告知暂不支持读取,引导用户用
doc_url
在企业微信客户端内打开查看。仅当
type=file
时才可用
id
作为
file_id
disk files download
拿本地文件。
使用规则
  • 触发条件(唯一权威描述)
    keywords
    /
    creator_userids
    /
    search_type
    /
    file_types
    四选一,至少传一个
    space_keywords
    只是附加过滤条件,不能单独触发搜索。若四者全空则用自然语言追问后再发起搜索。若用户仅给出空间关键词(如「在 XX 空间里搜一下」),可用自然语言追问具体搜索内容。
  • 多次搜不到就如实告知:多次调整关键词/类型后仍无结果时,停止搜索,如实告知用户是「搜不到文件」还是「搜不到该空间」,不要反复换词硬搜。
  • 可选参数传值策略——默认不传,仅在用户明确点名时才传
    参数何时不传(后端默认)何时传(用户明确表达时)
    search_type
    用户笼统说"搜一下 xxx / 找 xxx / 文件 / 资料"等未明确对象类型 → 后端按
    all
    明确说"只搜文件夹 / 目录"→
    folder
    ;"只搜共享空间 / 团队空间"→
    space
    ;"只要文件,不要文件夹"→
    file
    sort_by
    用户无排序偏好 → 后端按
    best_match
    "最新 / 最近改 / 最早"→
    modify_time
    ;"最大 / 最小"→
    file_size
    sort_order
    sort_by=best_match
    时无需传
    modify_time
    /
    file_size
    时按新→旧用
    desc
    、旧→新用
    asc
    ;不传则默认
    desc
    file_types
    用户笼统说"文档 / 文件 / 资料 / 材料"或业务概念(合同 / 报告 / 会议纪要)→ 不过滤,靠
    keywords
    兑现
    用户明确点到具体形态(PPT / Excel / PDF / 图片 / 智能表格 等),把对应枚举一并塞入数组
    space_keywords
    不限空间时用户说"在 XX 空间 / XX 团队盘里搜" → 填空间名关键词(本接口不接受
    space_id
  • keywords
    不要混入文件类型后缀
    :用户说「搜一下 Excel 报告」「找 PPT 方案」时,文件类型后缀(Excel/PPT/Word/PDF)交给
    file_types
    过滤,
    keywords
    只保留业务关键词(如「报告」「方案」)。例:「Excel 报告」→
    keywords:["报告"]
    +
    file_types:["sheet","offline_excel"]
  • file_types
    口语→枚举映射
    :见上方「文件类型枚举」表中的「用户口语表达」列。
  • 分页续传
    has_more=true
    时用
    next_cursor
    作为下一次调用的
    cursor
    ;首次调用
    cursor
    传空串。
  • 不支持时间范围过滤:本接口没有
    begin_time
    /
    end_time
    字段,禁止伪造;若用户给出"最近 3 天 / 上周 / 本月"等时间范围,先按
    sort_by=modify_time
    ,
    sort_order=desc
    拉取,再由客户端根据
    update_time
    二次筛选。
  • 结果总结顺序跟随排序方向
    sort_order=desc
    (默认,新→旧)时,向用户总结结果也应从最新到最旧展示,不要颠倒顺序。
Search for WeCom Disk files, folders, or shared spaces by conditions such as keywords, file type, creator, shared space, and sorting.
Command
bash
wecom-cli disk files search --json '{"keywords": ["Quarterly Report"], "search_type": "file", "sort_by": "modify_time", "sort_order": "desc", "limit": 10}'
Parameters
FieldTypeRequiredDefault ValueDescription
keywords
string[]OptionalArray of literal keywords, length 0~20 (OR relationship); select at least one from
keywords
/
creator_userids
/
search_type
/
file_types
creator_userids
string[]OptionalList of restricted creator
userid
s, length 0~50; no filtering if not passed; select at least one from
keywords
/
creator_userids
/
search_type
/
file_types
; resolve user names to
userid
s via
wecomcli-contact
search_type
stringOptional
all
Enumeration of query scope:
all
/
file
(files) /
folder
(folders) /
space
(shared spaces); select at least one from
keywords
/
creator_userids
/
search_type
/
file_types
file_types
string[]OptionalRestricted file types, length 0~10; optional values include
doc
/
sheet
/
ppt
/
collect
/
mind
/
flow
/
smartsheet
/
smartpage
/
journal
/
pdf
/
offline_word
/
offline_excel
/
offline_ppt
/
offline_pdf
/
image
/
videoaudio
/
design
(keep original names for online documents, use
offline_
prefix for offline documents); do not pass values outside the enumeration; select at least one from
keywords
/
creator_userids
/
search_type
/
file_types
space_keywords
string[]NoKeywords restricting the space name, length 0~10, OR relationship; matching spaces will be used as the search scope; no space restriction if not passed; additional filtering condition, cannot trigger search alone
sort_by
stringNo
best_match
Sorting method:
best_match
/
modify_time
/
file_size
; do not pass values outside the enumeration
sort_order
stringNo
desc
Sorting direction:
asc
/
desc
; only required when
sort_by=modify_time
or
file_size
cursor
stringNoIncremental key for batch retrieval,
next_cursor
returned from the previous request; start from the beginning if not passed
limit
numberNo10Maximum number of items returned per page, maximum 100
Return
FieldTypeDescription
has_more
booleanWhether there is more data; use
next_cursor
to retrieve the next page when
true
next_cursor
stringCursor for the next page
files[].id
stringWeCom Disk file ID / folder ID / space ID
files[].type
stringType of the matched item:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
flow
/
mind
/
journal
/
collect
files[].file_name
stringName (file name / folder name / space name)
files[].file_size
numberFile size (bytes), only meaningful for
type=file
files[].creator_userid
stringCreator userid
files[].space_id
stringID of the associated shared space
files[].space_name
stringName of the shared space
files[].folder_id
stringID of the parent folder; equals
space_id
when located in the root directory of the space
files[].folder_name
stringName of the parent folder
files[].path
stringFull path of the file; when
space_name
and
folder_name
are the same, they may be at the same level instead of parent-child relationship, use
path
to determine the hierarchy
files[].create_time
stringCreation time, in
YYYY-MM-DD HH:mm:ss
format
files[].update_time
stringLast update time, in
YYYY-MM-DD HH:mm:ss
format
files[].docid
stringDocument ID, only meaningful for
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
files[].doc_url
stringDocument opening link, only filled for online document types; can be directly sent to users/groups as an online document sharing link without additional processing
files[].title_highlight
string[]Highlighted summary fragments of the title matching the keywords; empty when
type=space
files[].text_highlight
string[]Highlighted summary fragments of the content matching the keywords; empty when
type=space
Critical Constraint for Handling Online Document Matches: If the
type
returned by the search is
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
journal
/
collect
/
mind
/
flow
, these are online collaborative documents (content stored in the cloud, not binary files). Prohibit using
disk files download
(will fail or return an empty file), and it is not suitable to use
disk files get
. For
smartsheet
/
smartpage
/
sheet
/
word
, there are corresponding downstream skills to read the content; refer to the Cross-Skill Dependencies table at the end for routing; currently, no downstream skills or CLI can read the content of
ppt
/
journal
/
collect
/
mind
/
flow
. When users want to view the content of these types, directly inform them that content reading is not supported yet, and guide them to open the
doc_url
in the WeCom client. Only when
type=file
can the
id
be used as
file_id
to call
disk files download
to get the local file.
Usage Rules
  • Trigger Condition (Authoritative Description): Select at least one from
    keywords
    /
    creator_userids
    /
    search_type
    /
    file_types
    ;
    space_keywords
    is only an additional filtering condition and cannot trigger search alone. If all four are empty, ask the user for clarification in natural language before initiating the search. If the user only provides space keywords (e.g., "search in XX space"), ask for specific search content in natural language.
  • Inform Truthfully if No Results Found: If no results are found after adjusting keywords/types multiple times, stop searching and inform the user truthfully whether "no files found" or "no such space found"; do not repeatedly change keywords to force a search.
  • Optional Parameter Passing Strategy: Default to not passing, only pass when explicitly specified by the user:
    ParameterWhen Not to Pass (Backend Default)When to Pass (Explicitly Expressed by User)
    search_type
    User says "search for xxx / find xxx / files / materials" without specifying the object type → Backend uses
    all
    Explicitly says "only search folders / directories"→
    folder
    ; "only search shared spaces / team spaces"→
    space
    ; "only files, no folders"→
    file
    sort_by
    User has no sorting preference → Backend uses
    best_match
    "Latest / recently modified / earliest"→
    modify_time
    ; "Largest / smallest"→
    file_size
    sort_order
    Not required when
    sort_by=best_match
    Use
    desc
    for new→old and
    asc
    for old→new when passing
    modify_time
    /
    file_size
    ; default to
    desc
    if not passed
    file_types
    User says "documents / files / materials / resources" or business concepts (contracts / reports / meeting minutes) → No filtering, rely on
    keywords
    User explicitly mentions specific formats (PPT / Excel / PDF / images / smart spreadsheets, etc.), add the corresponding enumerations to the array
    space_keywords
    No space restrictionUser says "search in XX space / XX team disk" → Fill in space name keywords (this interface does not accept
    space_id
    )
  • Do Not Mix File Type Suffixes in
    keywords
    : When users say "search for Excel reports" or "find PPT plans", pass the file type suffixes (Excel/PPT/Word/PDF) to
    file_types
    for filtering, and only keep business keywords in
    keywords
    (e.g., "reports" / "plans"). Example: "Excel report" →
    keywords:["report"]
    +
    file_types:["sheet","offline_excel"]
    .
  • Spoken Language → Enumeration Mapping for
    file_types
    : Refer to the "User Spoken Expression" column in the File Type Enumeration table above.
  • Pagination Continuation: Use
    next_cursor
    as the
    cursor
    for the next call when
    has_more=true
    ; pass an empty string for
    cursor
    in the first call.
  • Time Range Filtering Not Supported: This interface does not have
    begin_time
    /
    end_time
    fields; do not forge them. If users provide time ranges such as "last 3 days / last week / this month", first retrieve data with
    sort_by=modify_time
    ,
    sort_order=desc
    , then perform secondary filtering on the client side based on
    update_time
    .
  • Result Summary Order Follows Sorting Direction: When
    sort_order=desc
    (default, new→old), summarize results for users from newest to oldest, do not reverse the order.

读取文件信息

Read File Information

根据
file_id
或微盘文件 URL 读取文件基础信息。
命令
bash
wecom-cli disk files get --json '{"file_id": "FILE_ID"}'
入参
字段类型必填默认值说明
file_id
string二选一文件 ID;与
url
二选一;同时提供时优先使用
file_id
url
string二选一微盘文件分享 URL(形如
https://drive.weixin.qq.com/s?k=AJEAIQdfAAoN4N17GM
);与
file_id
二选一
返回
字段类型说明
file.id
string文件 ID 或文件夹 ID
file.file_name
string文件名称
file.docid
string文档 ID,仅
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
时有意义
file.type
string文件类型:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
/
flow
/
mind
file.file_size
number文件大小(字节);仅
type=file
时有意义
file.creator_userid
string创建者 userid
file.space_id
string所属共享空间 ID
file.space_name
string所在共享空间名称
file.folder_id
string所在文件夹 ID,可能为文件夹
file_id
或空间
space_id
file.folder_name
string所在文件夹名称
file.create_time
string创建时间,
YYYY-MM-DD HH:mm:ss
file.update_time
string最后更新时间,
YYYY-MM-DD HH:mm:ss
file.path
string文件完整路径
file.doc_url
string文档打开链接,仅在线文档类型(
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
)时填充
Read basic file information based on
file_id
or WeCom Disk file URL.
Command
bash
wecom-cli disk files get --json '{"file_id": "FILE_ID"}'
Parameters
FieldTypeRequiredDefault ValueDescription
file_id
stringEitherFile ID; choose either
file_id
or
url
;
file_id
takes priority if both are provided
url
stringEitherWeCom Disk file sharing URL (in the format
https://drive.weixin.qq.com/s?k=AJEAIQdfAAoN4N17GM
); choose either
file_id
or
url
Return
FieldTypeDescription
file.id
stringFile ID or folder ID
file.file_name
stringFile name
file.docid
stringDocument ID, only meaningful for
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
file.type
stringFile type:
file
/
folder
/
space
/
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
/
flow
/
mind
file.file_size
numberFile size (bytes); only meaningful for
type=file
file.creator_userid
stringCreator userid
file.space_id
stringID of the associated shared space
file.space_name
stringName of the shared space
file.folder_id
stringID of the parent folder, may be the folder
file_id
or space
space_id
file.folder_name
stringName of the parent folder
file.create_time
stringCreation time, in
YYYY-MM-DD HH:mm:ss
format
file.update_time
stringLast update time, in
YYYY-MM-DD HH:mm:ss
format
file.path
stringFull path of the file
file.doc_url
stringDocument opening link, only filled for online document types (
smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
)

上传文件

Upload File

将本地文件上传到微盘指定目录。支持两种上传方式:A. 素材方式 上下文中已有
media_id
时直接传
file_content_media
B. 本地路径方式 直接传
file_path
。两者二选一。
命令
bash
wecom-cli disk files upload --json '{"folder_id": "FOLDER_ID", "file_name": "季度汇报.pptx", "file_content_media": "mcxxx"}'
或直接使用本地文件路径:
bash
wecom-cli disk files upload --json '{"folder_id": "FOLDER_ID", "file_name": "季度汇报.pptx", "file_path": "/tmp/季度汇报.pptx"}'
入参
字段类型必填默认值说明
folder_id
string目标文件夹 ID;可传文件夹
file_id
或空间
space_id
;不传则默认上传到默认空间
file_name
string条件必填文件名称(含扩展名);长度 1~255;禁止包含字符
/ \ : * ? " < > |
;传
file_path
时不传则从路径自动提取,传
file_content_media
时必填
file_content_media
string二选一文件素材的
media_id
(前缀
mc
),禁止自行构造或猜测;与
file_path
二选一
file_path
string二选一本地文件绝对路径;与
file_content_media
二选一,两者必须提供其一
返回
字段类型说明
file.id
string上传后的文件 ID
file.file_name
string文件名称
file.docid
string文档 ID,仅
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
时有意义
file.type
string文件类型
file.file_size
number文件大小(字节);仅
type=file
时有意义
file.creator_userid
string创建者 userid
file.space_id
string所属共享空间 ID
file.space_name
string所在共享空间名称
file.folder_id
string所在文件夹 ID
file.folder_name
string所在文件夹名称
file.create_time
string创建时间
file.update_time
string最后更新时间
file.path
string文件完整路径
file.doc_url
string文档打开链接,仅在线文档类型时填充
使用规则
上传分两条路径,按用户手上的素材形态选一条即可:
路径 A:素材方式(
file_content_media
适用场景:上下文中已有可用的
media_id
(前置技能返回的、或用户直接给出的),无需再走
media +upload
  1. 确认
    folder_id
    :用户没提供时不传则默认上传到默认空间
  2. 直接把已有的
    media_id
    填入
    file_content_media
    ,调
    disk files upload
路径 B:本地路径方式(
file_path
  1. 用户已经明确给出本地文件路径(或前置技能返回了本地
    file_path
    ,例如
    disk files download
    下载后的路径)时可直接使用
  2. 确认
    folder_id
    :用户没提供时不传则默认上传到默认空间
  3. 直接把本地路径填入
    file_path
    ,调
    disk files upload
    (不需要再走
    wecomcli-media
二选一互斥
file_content_media
file_path
只能选其中之一,不能同时传,也不能都不传。用户既没给
media_id
也没给本地文件路径时用自然语言追问,禁止靠搜索/幻觉凑一个文件。
Upload local files to a specified directory in WeCom Disk. Two upload methods are supported: A. Media Method directly pass
file_content_media
when
media_id
is available in the context; B. Local Path Method directly pass
file_path
. Choose one of the two methods.
Command
bash
wecom-cli disk files upload --json '{"folder_id": "FOLDER_ID", "file_name": "Quarterly Report.pptx", "file_content_media": "mcxxx"}'
Or use the local file path directly:
bash
wecom-cli disk files upload --json '{"folder_id": "FOLDER_ID", "file_name": "Quarterly Report.pptx", "file_path": "/tmp/Quarterly Report.pptx"}'
Parameters
FieldTypeRequiredDefault ValueDescription
folder_id
stringNoTarget folder ID; can pass folder
file_id
or space
space_id
; upload to the default space if not passed
file_name
stringConditionally RequiredFile name (including extension); length 1~255; prohibited characters:
/ \ : * ? " < > |
; automatically extracted from the path if
file_path
is passed and
file_name
is not; required if
file_content_media
is passed
file_content_media
stringEither
media_id
of the file material (prefix
mc
), do not construct or guess it; choose either
file_content_media
or
file_path
file_path
stringEitherAbsolute path of the local file; choose either
file_content_media
or
file_path
, one must be provided
Return
FieldTypeDescription
file.id
stringID of the uploaded file
file.file_name
stringFile name
file.docid
stringDocument ID, only meaningful for
type=smartsheet
/
smartpage
/
sheet
/
word
/
ppt
/
collect
/
journal
file.type
stringFile type
file.file_size
numberFile size (bytes); only meaningful for
type=file
file.creator_userid
stringCreator userid
file.space_id
stringID of the associated shared space
file.space_name
stringName of the shared space
file.folder_id
stringID of the parent folder
file.folder_name
stringName of the parent folder
file.create_time
stringCreation time
file.update_time
stringLast update time
file.path
stringFull path of the file
file.doc_url
stringDocument opening link, only filled for online document types
Usage Rules
There are two upload paths, choose one based on the material form available to the user:
Path A: Media Method (
file_content_media
)
Applicable scenario: A valid
media_id
is already available in the context (returned by a preceding skill or directly provided by the user), no need to go through
media upload
again.
  1. Confirm
    folder_id
    : If not provided by the user, do not pass it to upload to the default space
  2. Directly fill the existing
    media_id
    into
    file_content_media
    and call
    disk files upload
Path B: Local Path Method (
file_path
)
  1. Can be used directly when the user explicitly provides a local file path (or a preceding skill returns a local
    file_path
    , such as the path after downloading via
    disk files download
    )
  2. Confirm
    folder_id
    : If not provided by the user, do not pass it to upload to the default space
  3. Directly fill the local path into
    file_path
    and call
    disk files upload
    (no need to go through
    wecomcli-media
    )
Mutually Exclusive: Only one of
file_content_media
and
file_path
can be selected, cannot pass both or neither. If the user provides neither
media_id
nor local file path, ask for clarification in natural language; do not fabricate a file through search/illusion.

下载文件

Download File

将微盘文件下载到本地,返回本地文件路径。
命令
bash
wecom-cli disk files download --json '{"file_id": "FILE_ID"}'
入参
字段类型必填默认值说明
file_id
string二选一要下载的文件 ID,与
url
二选一;不传则必须传
url
url
string二选一文件 URL,与
file_id
二选一;不传则必须传
file_id
返回
字段类型说明
file_path
string框架保存为本地文件后返回的文件路径
file_content
string文件内容(内容不长时直接返回字符串)
size
number文件大小,单位字节
使用规则
  • 仅适用于离线二进制文件:只有
    type=file
    (对应
    file_types
    中的
    offline_word
    /
    offline_excel
    /
    offline_ppt
    /
    offline_pdf
    /
    image
    /
    videoaudio
    /
    design
    )才能通过本接口下载到本地。
  • 在线文档形态一律不走下载:若搜索返回的
    type
    smartsheet
    /
    smartpage
    /
    sheet
    /
    word
    /
    ppt
    /
    journal
    /
    collect
    /
    mind
    /
    flow
    禁止把它们的
    id
    doc_url
    file_id
    /
    url
    传入本接口,会失败或拿到无效文件。其中
    smartsheet
    /
    smartpage
    /
    sheet
    /
    word
    要读取内容请按文末【跨技能依赖】表用
    docid
    路由到对应的下游文档技能;
    ppt
    /
    journal
    /
    collect
    /
    mind
    /
    flow
    目前没有下游技能可读正文,直接告知用户暂不支持,引导其用
    doc_url
    在企业微信客户端内打开查看。
  • URL 形态识别:只有
    https://drive.weixin.qq.com/s?k=...
    是微盘文件分享 URL,可作为
    url
    参数;
    https://doc.weixin.qq.com/...
    /
    https://page.weixin.qq.com/...
    都是在线文档链接,禁止传入本接口。
Download WeCom Disk files to local device and return the local file path.
Command
bash
wecom-cli disk files download --json '{"file_id": "FILE_ID"}'
Parameters
FieldTypeRequiredDefault ValueDescription
file_id
stringEitherID of the file to download, choose either
file_id
or
url
; must pass
url
if
file_id
is not passed
url
stringEitherFile URL, choose either
file_id
or
url
; must pass
file_id
if
url
is not passed
Return
FieldTypeDescription
file_path
stringLocal file path returned after the framework saves the file
file_content
stringFile content (returned as a string if the content is not long)
size
numberFile size, in bytes
Usage Rules
  • Only Applicable to Offline Binary Files: Only files with
    type=file
    (corresponding to
    offline_word
    /
    offline_excel
    /
    offline_ppt
    /
    offline_pdf
    /
    image
    /
    videoaudio
    /
    design
    in
    file_types
    ) can be downloaded to local device via this interface.
  • Never Use Download for Online Documents: If the
    type
    returned by the search is
    smartsheet
    /
    smartpage
    /
    sheet
    /
    word
    /
    ppt
    /
    journal
    /
    collect
    /
    mind
    /
    flow
    , prohibit passing their
    id
    or
    doc_url
    as
    file_id
    /
    url
    to this interface, which will fail or return an invalid file. For
    smartsheet
    /
    smartpage
    /
    sheet
    /
    word
    , use the
    docid
    to route to the corresponding downstream document skills according to the Cross-Skill Dependencies table at the end to read content; currently, no downstream skills can read the content of
    ppt
    /
    journal
    /
    collect
    /
    mind
    /
    flow
    , directly inform users that this is not supported yet, and guide them to open the
    doc_url
    in the WeCom client.
  • URL Format Identification: Only
    https://drive.weixin.qq.com/s?k=...
    is a WeCom Disk file sharing URL, which can be used as the
    url
    parameter;
    https://doc.weixin.qq.com/...
    /
    https://page.weixin.qq.com/...
    are online document links, prohibited from being passed to this interface.

重命名文件

Rename File

修改微盘文件名称。
命令
bash
wecom-cli disk files rename --json '{"file_id": "FILE_ID", "new_name": "新文件名称.xlsx"}'
入参
字段类型必填默认值说明
file_id
string文件 ID(必填)
new_name
string新的文件名称(必填,含扩展名);长度 1~255;禁止包含字符
/ \ : * ? " < > |
返回
字段类型说明
status
string操作结果,成功时为
"success"
本接口不返回
file
对象;如需最新元数据,可再走「读取文件信息」。
Modify the name of a WeCom Disk file.
Command
bash
wecom-cli disk files rename --json '{"file_id": "FILE_ID", "new_name": "New File Name.xlsx"}'
Parameters
FieldTypeRequiredDefault ValueDescription
file_id
stringYesFile ID (required)
new_name
stringYesNew file name (required, including extension); length 1~255; prohibited characters:
/ \ : * ? " < > |
Return
FieldTypeDescription
status
stringOperation result,
"success"
when successful
This interface does not return a
file
object; to retrieve the latest metadata, call "Read File Information" again.

创建文件夹

Create Folder

在微盘指定目录下创建新文件夹。
命令
bash
wecom-cli disk folders create --json '{"folder_id": "FOLDER_ID", "folder_name": "新建文件夹"}'
入参
字段类型必填默认值说明
folder_id
string选填目标父文件夹 ID;可传文件夹
file_id
或空间
space_id
,不传则默认创建到个人空间根目录
folder_name
string文件夹名称
返回
字段类型说明
folder.id
string文件夹 ID
folder.file_name
string文件夹名称
folder.docid
string文档 ID,仅在线文档类型时有意义
folder.type
string文件类型:
folder
folder.file_size
number文件大小(字节);仅
type=file
时有意义
folder.creator_userid
string创建者 userid
folder.space_id
string所属共享空间 ID
folder.space_name
string所在空间名;对空间有权限时才返回,与
space_id
同时出现
folder.folder_id
string所在父文件夹 ID,可能为文件夹
file_id
或空间
space_id
folder.folder_name
string所在父文件夹名;对父文件夹有权限时才返回,与
folder_id
同时出现
folder.create_time
string创建时间,
YYYY-MM-DD HH:mm:ss
folder.update_time
string最后更新时间,
YYYY-MM-DD HH:mm:ss
folder.path
string文件夹完整路径
folder.doc_url
string文档打开链接,仅在线文档类型时填充
Create a new folder in a specified directory of WeCom Disk.
Command
bash
wecom-cli disk folders create --json '{"folder_id": "FOLDER_ID", "folder_name": "New Folder"}'
Parameters
FieldTypeRequiredDefault ValueDescription
folder_id
stringOptionalID of the target parent folder; can pass folder
file_id
or space
space_id
, create in the root directory of the personal space if not passed
folder_name
stringYesFolder name
Return
FieldTypeDescription
folder.id
stringFolder ID
folder.file_name
stringFolder name
folder.docid
stringDocument ID, only meaningful for online document types
folder.type
stringFile type:
folder
folder.file_size
numberFile size (bytes); only meaningful for
type=file
folder.creator_userid
stringCreator userid
folder.space_id
stringID of the associated shared space
folder.space_name
stringName of the space; returned only when having permission to the space, appears together with
space_id
folder.folder_id
stringID of the parent folder, may be the folder
file_id
or space
space_id
folder.folder_name
stringName of the parent folder; returned only when having permission to the parent folder, appears together with
folder_id
folder.create_time
stringCreation time, in
YYYY-MM-DD HH:mm:ss
format
folder.update_time
stringLast update time, in
YYYY-MM-DD HH:mm:ss
format
folder.path
stringFull path of the folder
folder.doc_url
stringDocument opening link, only filled for online document types

关键约束

Key Constraints

  • 文件名不是
    file_id
    :用户给的是文件名/关键词时,先走
    disk files search
    file_id
    ,禁止把文件名直接当
    file_id
    拼接。
  • 上传素材来源约束
    upload
    file_content_media
    file_path
    二选一,两者必须提供其一,不能同时传。
    file_content_media
    必须是合法的
    media_id
    (前缀
    mc
    ),禁止自行构造或猜测;
    file_path
    只能是用户明确给出或前置技能返回的真实本地文件路径,禁止编造。两者都没有时用自然语言追问,禁止靠搜索/幻觉凑一个文件。
  • 搜索必须有界:一组条件搜完必要时再调整一次;2~3 轮仍无结果就停下来如实告知用户"未搜到",并请用户提供更准确的关键词/文件类型/创建者,禁止无限换关键词硬搜。
  • CLI 报错原样转达:命令返回明确错误码时如实告知用户并给替代建议,禁止用 curl / python 等通用手段绕过 CLI 强行完成。
  • 内部 ID 不外露
    creator_userid
    /
    space_id
    /
    folder_id
    /
    file_id
    /
    docid
    等任何 ID 仅用于后续接口调用,禁止直接展示给用户;
    creator_userid
    若需展示创建者信息,先用
    wecomcli-contact
    解析为姓名。
  • 重名空间/文件夹时追问:搜索返回多个同名空间或文件夹时,用自然语言追问让用户选择具体目标,禁止随意选第一个或猜一个。
  • 参数缺失 / 多候选 / 意图确认:用自然语言追问让用户明确,不要瞎猜。
  • File Name is Not
    file_id
    : When the user provides a file name/keyword, first use
    disk files search
    to get the
    file_id
    ; do not directly use the file name as
    file_id
    .
  • Upload Material Source Constraint: Choose one of
    file_content_media
    and
    file_path
    for
    upload
    , one must be provided, cannot pass both.
    file_content_media
    must be a valid
    media_id
    (prefix
    mc
    ), do not construct or guess it;
    file_path
    can only be a real local file path explicitly provided by the user or returned by a preceding skill, do not fabricate it. If neither is available, ask for clarification in natural language; do not fabricate a file through search/illusion.
  • Search Must Be Bounded: Adjust conditions once if necessary after a set of searches; stop and inform users "no results found" after 2~3 rounds of unsuccessful searches, and ask users to provide more accurate keywords/file types/creators; do not keep changing keywords to force a search.
  • Convey CLI Errors as They Are: If the command returns a clear error code, inform users truthfully and provide alternative suggestions; do not bypass the CLI using curl/python or other general methods to force completion.
  • Do Not Expose Internal IDs: Internal IDs such as
    creator_userid
    /
    space_id
    /
    folder_id
    /
    file_id
    /
    docid
    are only used for subsequent interface calls; prohibit directly displaying them to users; if need to display creator information for
    creator_userid
    , first resolve it to a name via
    wecomcli-contact
    .
  • Ask for Clarification When Spaces/Folders Have the Same Name: If the search returns multiple spaces or folders with the same name, ask users to select the specific target in natural language; do not randomly select the first one or guess.
  • Ask for Clarification When Parameters Are Missing / Multiple Candidates / Intent is Unclear: Ask users to clarify in natural language, do not guess.

结果展示规范

Result Display Specifications

向用户展示
list
/
search
结果时严格遵守:
  • 用 markdown 无序列表逐条展示,禁止使用表格——最多展示 10 条。
  • 每条首行:该项返回的
    doc_url
    非空时(在线文档),写成
    - [文件名](doc_url)
    形式的 markdown 链接;
    doc_url
    为空时(离线文件、文件夹、空间等),写成
    - 文件名
    ,不得编造链接。副行可展示
    path
    /
    update_time
    / 可读的
    file_size
    (如
    2.4 MB
    ),字段之间用
    ·
    或空格分隔。
  • 禁止直接展示原始 JSON、
    creator_userid
    /
    space_id
    /
    folder_id
    /
    id
    等内部 ID。
Strictly follow these rules when displaying
list
/
search
results to users:
  • Display item by item using markdown unordered lists, prohibit using tables — display a maximum of 10 items.
  • First line of each item: If the returned
    doc_url
    is not empty (online document), write it as a markdown link in the format
    - [File Name](doc_url)
    ; if
    doc_url
    is empty (offline files, folders, spaces, etc.), write it as
    - File Name
    , do not fabricate links. Secondary lines can display
    path
    /
    update_time
    / readable
    file_size
    (e.g.,
    2.4 MB
    ), separate fields with
    ·
    or spaces.
  • Prohibit directly displaying raw JSON, internal IDs such as
    creator_userid
    /
    space_id
    /
    folder_id
    /
    id
    .

跨技能依赖

Cross-Skill Dependencies

依赖技能何时触发使用被依赖 skill 做什么
wecomcli-doc
搜索命中项
type=word
/
doc
,用户要"读一下内容"
拿返回的
docid
交给
wecom-cli doc 'contents get'
读取正文(
docid
a1_
/
b1_
开头的除外,走
wecomcli-smartpage
wecomcli-sheet
搜索命中项
type=sheet
(在线表格),用户要读内容
拿返回的
docid
交给
wecomcli-sheet
对应读取接口
wecomcli-smartsheet
搜索命中项
type=smartsheet
(智能表格),用户要读内容
拿返回的
docid
交给
wecomcli-smartsheet
对应读取接口
wecomcli-smartpage
搜索命中项
type=smartpage
(智能主页),或
type=word
docid
a1_
/
b1_
开头,用户要读内容
拿返回的
docid
交给
wecomcli-smartpage
对应读取接口
wecomcli-doc-manage
命中项是 word/sheet/smartsheet/smartpage 且用户要求改文档权限 / 加成员 / 改文档名交由
wecomcli-doc-manage
处理;其余在线/离线类型(file/collect/mind/flow/journal/ppt/pdf 等)的改名走本 skill 的 rename;
folder
(文件夹)不支持重命名(见【适用范围】),告知用户暂未支持,建议前往企业微信客户端手动操作
参数缺失 / 多候选 / 意图确认时,用自然语言追问让用户明确。
Dependent SkillTrigger ConditionPurpose of Using the Dependent Skill
wecomcli-doc
Search matches
type=word
/
doc
, and user wants to "read the content"
Pass the returned
docid
to
wecom-cli doc 'contents get'
to read the content (except when
docid
starts with
a1_
/
b1_
, route to
wecomcli-smartpage
)
wecomcli-sheet
Search matches
type=sheet
(online spreadsheet), and user wants to read the content
Pass the returned
docid
to the corresponding reading interface of
wecomcli-sheet
wecomcli-smartsheet
Search matches
type=smartsheet
(smart spreadsheet), and user wants to read the content
Pass the returned
docid
to the corresponding reading interface of
wecomcli-smartsheet
wecomcli-smartpage
Search matches
type=smartpage
(smart homepage), or
type=word
with
docid
starting with
a1_
/
b1_
, and user wants to read the content
Pass the returned
docid
to the corresponding reading interface of
wecomcli-smartpage
wecomcli-doc-manage
Matched item is word/sheet/smartsheet/smartpage and user requests to modify document permissions / add members / rename the documentHand over to
wecomcli-doc-manage
; renaming for other online/offline types (file/collect/mind/flow/journal/ppt/pdf, etc.) uses the
rename
function of this skill; renaming
folder
(folders) is not supported (see Scope of Application), inform users that this is not supported yet and suggest manual operation via the WeCom client
When parameters are missing / multiple candidates / intent is unclear, ask users to clarify in natural language.