stvlynn/qclaw-skills · Archived

wecom-smartsheet-schema

企业微信智能表格结构管理技能。提供子表(Sheet)和字段(Field/列)的增删改查能力。适用场景:(1) 查询智能表格的子表列表 (2) 添加、更新、删除子表 (3) 查询子表的字段/列信息 (4) 添加、更新、删除字段/列。当用户需要管理智能表格的表结构、列定义、子表?

First seen Mar 21, 2026

Installation

$ npx skills add stvlynn/qclaw-skills --skill wecom-smartsheet-schema

Summary

企业微信智能表格结构管理技能。提供子表(Sheet)和字段(Field/列)的增删改查能力。适用场景:(1) 查询智能表格的子表列表 (2) 添加、更新、删除子表 (3) 查询子表的字段/列信息 (4) 添加、更新、删除字段/列。当用户需要管理智能表格的表结构、列定义、子表配置时触发此 Skill。支持通过…

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from stvlynn/qclaw-skills · top by installs.

npx skills add stvlynn/qclaw-skills

Browse all from stvlynn/qclaw-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Also listed on

Alternate registries and mirrors of this skill.

Repository health

Stars 4
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,135 B
  • docs SUMMARY.md 453 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

企业微信智能表格结构管理

wecom_mcp 是一个 MCP tool,所有操作通过调用该 tool 完成。

⚠️ 前置条件:首次调用 wecom_mcp 前,必须按 wecom-preflight 技能执行前置条件检查,确保工具已加入白名单。

管理智能表格的子表和字段(列)结构。所有接口支持通过 docidurl 二选一定位文档。

调用方式

通过 wecom_mcp tool 调用,品类为 doc

使用 wecommcp tool 调用 wecommcp call doc <toolname> '<jsonparams>' 调用指定技能

返回格式说明

所有接口返回 JSON 对象,包含以下公共字段:

字段 类型 说明
errcode integer 返回码,0 表示成功,非 0 表示失败
errmsg string 错误信息,成功时为 "ok"

errcode 不为 0 时,说明接口调用失败,可重试 1 次;若仍失败,将 errcodeerrmsg 展示给用户。

子表管理

smartsheetgetsheet

查询文档中所有子表信息,返回 sheet_id、title、类型等。

使用 wecommcp tool 调用 wecommcp call doc smartsheetgetsheet '{"docid": "DOCID"}'

smartsheetaddsheet

添加空子表。新子表不含视图、记录和字段,需通过其他接口补充。

使用 wecommcp tool 调用 wecommcp call doc smartsheetaddsheet '{"docid": "DOCID", "properties": {"title": "新子表"}}'

注意:新建智能表格文档默认已含一个子表,仅需多个子表时调用。

smartsheetupdatesheet

修改子表标题。需提供 sheet_id 和新 title。

使用 wecommcp tool 调用 wecommcp call doc smartsheetupdatesheet '{"docid": "DOCID", "sheet_id": "SHEETID", "title": "新标题"}'

smartsheetdeletesheet

永久删除子表,操作不可逆

使用 wecommcp tool 调用 wecommcp call doc smartsheetdeletesheet '{"docid": "DOCID", "sheet_id": "SHEETID"}'

字段管理

smartsheetgetfields

查询子表的所有字段信息,返回 fieldid、fieldtitle、field_type。

使用 wecommcp tool 调用 wecommcp call doc smartsheetgetfields '{"docid": "DOCID", "sheet_id": "SHEETID"}'

smartsheetaddfields

向子表添加一个或多个字段。单个子表最多 150 个字段。

使用 wecommcp tool 调用 wecommcp call doc smartsheetaddfields '{"docid": "DOCID", "sheetid": "SHEETID", "fields": [{"fieldtitle": "任务名称", "fieldtype": "FIELDTYPE_TEXT"}]}'

支持的字段类型参见 [字段类型参考](references/field-types.md)。

smartsheetupdatefields

更新字段标题。只能改名,不能改类型(fieldtype 必须传原始类型)。fieldtitle 不能更新为原值。

使用 wecommcp tool 调用 wecommcp call doc smartsheetupdatefields '{"docid": "DOCID", "sheetid": "SHEETID", "fields": [{"fieldid": "FIELDID", "fieldtitle": "新标题", "fieldtype": "FIELDTYPETEXT"}]}'

smartsheetdeletefields

删除一列或多列字段,操作不可逆。fieldid 可通过 smartsheetget_fields 获取。

使用 wecommcp tool 调用 wecommcp call doc smartsheetdeletefields '{"docid": "DOCID", "sheetid": "SHEETID", "fieldids": ["FIELDID"]}'

典型工作流

  1. 了解表结构 → 使用 wecommcp tool 调用 wecommcp call doc smartsheetgetsheet → 使用 wecommcp tool 调用 wecommcp call doc smartsheetgetfields
  2. 创建表结构smartsheetaddsheet 添加子表 → smartsheetaddfields 定义列
  3. 修改表结构smartsheetupdatefields 改列名 / smartsheetdeletefields 删列