Summary
企业微信智能表格结构管理技能。提供子表(Sheet)和字段(Field/列)的增删改查能力。适用场景:(1) 查询智能表格的子表列表 (2) 添加、更新、删除子表 (3) 查询子表的字段/列信息 (4) 添加、更新、删除字段/列。当用户需要管理智能表格的表结构、列定义、子表配置时触发此 Skill。支持通过…
stvlynn/qclaw-skills · Archived
企业微信智能表格结构管理技能。提供子表(Sheet)和字段(Field/列)的增删改查能力。适用场景:(1) 查询智能表格的子表列表 (2) 添加、更新、删除子表 (3) 查询子表的字段/列信息 (4) 添加、更新、删除字段/列。当用户需要管理智能表格的表结构、列定义、子表?
npx skills add stvlynn/qclaw-skills --skill wecom-smartsheet-schema
企业微信智能表格结构管理技能。提供子表(Sheet)和字段(Field/列)的增删改查能力。适用场景:(1) 查询智能表格的子表列表 (2) 添加、更新、删除子表 (3) 查询子表的字段/列信息 (4) 添加、更新、删除字段/列。当用户需要管理智能表格的表结构、列定义、子表配置时触发此 Skill。支持通过…
This repository is archived — consider an actively maintained alternative.
[SYSTEM RULES - MANDATORY - ALWAYS LOAD - DO NOT SKIP] QClaw系统基础运行规则,强制加载,不可卸…
7 installsHolistic nutrition guidance — food-health relationships, eating behaviors, sustainable habits, …
6 installs?
5 installs[MANDATORY] 本环境没有? 定时任务、模型设置、Skills/Plugins 管理等)都? 禁止直接调用 `openclaw` …
5 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Other skills from stvlynn/qclaw-skills · top by installs.
npx skills add stvlynn/qclaw-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Alternate registries and mirrors of this skill.
npx skills add https://github.com/wecomteam/wecom-openclaw-plugin
main
Files included with this skill beyond the listing page.
SKILL.md
4,135 B
SUMMARY.md
453 B
wecom_mcp是一个 MCP tool,所有操作通过调用该 tool 完成。
⚠️ 前置条件:首次调用
wecom_mcp前,必须按wecom-preflight技能执行前置条件检查,确保工具已加入白名单。
管理智能表格的子表和字段(列)结构。所有接口支持通过 docid 或 url 二选一定位文档。
通过 wecom_mcp tool 调用,品类为 doc:
使用 wecommcp tool 调用 wecommcp call doc <toolname> '<jsonparams>' 调用指定技能
所有接口返回 JSON 对象,包含以下公共字段:
| 字段 | 类型 | 说明 |
|---|---|---|
errcode |
integer | 返回码,0 表示成功,非 0 表示失败 |
errmsg |
string | 错误信息,成功时为 "ok" |
当 errcode 不为 0 时,说明接口调用失败,可重试 1 次;若仍失败,将 errcode 和 errmsg 展示给用户。
查询文档中所有子表信息,返回 sheet_id、title、类型等。
使用 wecommcp tool 调用 wecommcp call doc smartsheetgetsheet '{"docid": "DOCID"}'
添加空子表。新子表不含视图、记录和字段,需通过其他接口补充。
使用 wecommcp tool 调用 wecommcp call doc smartsheetaddsheet '{"docid": "DOCID", "properties": {"title": "新子表"}}'
注意:新建智能表格文档默认已含一个子表,仅需多个子表时调用。
修改子表标题。需提供 sheet_id 和新 title。
使用 wecommcp tool 调用 wecommcp call doc smartsheetupdatesheet '{"docid": "DOCID", "sheet_id": "SHEETID", "title": "新标题"}'
永久删除子表,操作不可逆。
使用 wecommcp tool 调用 wecommcp call doc smartsheetdeletesheet '{"docid": "DOCID", "sheet_id": "SHEETID"}'
查询子表的所有字段信息,返回 fieldid、fieldtitle、field_type。
使用 wecommcp tool 调用 wecommcp call doc smartsheetgetfields '{"docid": "DOCID", "sheet_id": "SHEETID"}'
向子表添加一个或多个字段。单个子表最多 150 个字段。
使用 wecommcp tool 调用 wecommcp call doc smartsheetaddfields '{"docid": "DOCID", "sheetid": "SHEETID", "fields": [{"fieldtitle": "任务名称", "fieldtype": "FIELDTYPE_TEXT"}]}'
支持的字段类型参见 [字段类型参考](references/field-types.md)。
更新字段标题。只能改名,不能改类型(fieldtype 必须传原始类型)。fieldtitle 不能更新为原值。
使用 wecommcp tool 调用 wecommcp call doc smartsheetupdatefields '{"docid": "DOCID", "sheetid": "SHEETID", "fields": [{"fieldid": "FIELDID", "fieldtitle": "新标题", "fieldtype": "FIELDTYPETEXT"}]}'
删除一列或多列字段,操作不可逆。fieldid 可通过 smartsheetget_fields 获取。
使用 wecommcp tool 调用 wecommcp call doc smartsheetdeletefields '{"docid": "DOCID", "sheetid": "SHEETID", "fieldids": ["FIELDID"]}'
wecommcp tool 调用 wecommcp call doc smartsheetgetsheet → 使用 wecommcp tool 调用 wecommcp call doc smartsheetgetfieldssmartsheetaddsheet 添加子表 → smartsheetaddfields 定义列smartsheetupdatefields 改列名 / smartsheetdeletefields 删列