PluginBench
Skill
Pass
Audit score 90

wecomcli-edit-meeting

wecomteam/wecom-cli

Cancel or update attendees for WeCom enterprise meetings via CLI.

What is wecomcli-edit-meeting?

Manages WeCom (企业微信) meetings by canceling scheduled meetings or modifying participant lists. Use this when you need to cancel a meeting or add/remove attendees from an existing meeting.

  • Cancel scheduled meetings by meeting ID
  • Update meeting attendees with full list replacement
  • Retrieve meeting details to get current participant information
  • Integrate with contact lookup to find employee userids for adding attendees
  • Support bulk attendee modifications for enterprise meetings

How to install wecomcli-edit-meeting

npx skills add https://github.com/wecomteam/wecom-cli --skill wecomcli-edit-meeting
Prerequisites
  • wecom-cli binary installed and configured
  • Access to WeCom enterprise account with meeting management permissions
  • Meeting ID (obtainable via wecomcli-get-meeting skill)
  • Employee userids from contact lookup (via wecomcli-lookup-contact skill)
Claude Code
Cursor
Windsurf
Cline

How to use wecomcli-edit-meeting

  1. 1.Identify the target meeting using wecomcli-get-meeting skill to get the meetingid
  2. 2.For cancellation: call cancel_meeting with the meetingid
  3. 3.For updating attendees: retrieve current meeting details via wecomcli-get-meeting
  4. 4.Look up employee userids using wecomcli-lookup-contact skill for any new attendees
  5. 5.Merge current attendees with new attendees (full list replacement)
  6. 6.Call set_invite_meeting_members with complete attendee list and meetingid
  7. 7.Confirm the operation completed successfully

Use cases

Good for
  • Cancel a scheduled team meeting when it's no longer needed
  • Add a new team member to an existing meeting's attendee list
  • Remove an employee from a meeting they were invited to
  • Replace the entire attendee list for a meeting with a new set of participants
  • Manage meeting participants after organizational changes
Who it's for
  • Enterprise administrators managing WeCom meetings
  • Team leads coordinating meeting attendance
  • HR or operations staff updating meeting rosters
  • Agents automating meeting lifecycle management

wecomcli-edit-meeting FAQ

Can I add or remove individual attendees without replacing the entire list?

No. The set_invite_meeting_members command performs full list replacement. You must retrieve the current attendee list first, merge your changes, then pass the complete new list.

Can I add external people or vendors to meetings?

No. Only enterprise internal members (with userid) are supported. External participants are not supported.

How do I find the userid of an employee to add to a meeting?

Use the wecomcli-lookup-contact skill's get_userlist command to retrieve all employees visible to your account, then match by name or alias to get their userid.

What happens if the meeting ID is invalid?

The command will return an error code. Ensure you retrieve the correct meetingid from wecomcli-get-meeting skill first.

Can I cancel a meeting that has already started?

The skill supports canceling scheduled/reserved meetings. Behavior for in-progress meetings depends on WeCom's backend restrictions.

Full instructions (SKILL.md)

Source of truth, from wecomteam/wecom-cli.


name: wecomcli-edit-meeting description: 企业微信会议管理技能, 支持取消会议和更新会议受邀成员. 当用户需要"取消会议", "删除会议", "修改会议成员", "添加会议参与人", "移除会议成员"时触发. metadata: requires: bins: ["wecom-cli"] cliHelp: "wecom-cli meeting --help"

企业微信会议管理技能

wecom-cli 是企业微信提供的命令行程序,所有操作通过执行 wecom-cli 命令完成。

概述

wecomcli-edit-meeting 提供企业微信会议管理能力, 包含以下功能:

  1. 取消会议 - 取消指定的预约会议
  2. 更新会议受邀成员 - 修改会议的参与人列表

命令调用方式

调用指定命令:

wecom-cli meeting <tool_name> '<json_params>'

命令详细说明

1. 取消会议 (cancel_meeting)

取消指定的预约会议.

调用命令

wecom-cli meeting cancel_meeting '{"meetingid": "<会议id>"}'

入参说明

参数类型必填说明
meetingidstring会议 ID, 通过 wecomcli-get-meeting 技能获取

返回参数

{
  "errcode": 0,
  "errmsg": "ok"
}

2. 更新会议受邀成员 (set_invite_meeting_members)

更新会议的受邀成员列表 (全量覆盖).

调用命令

wecom-cli meeting set_invite_meeting_members '{"meetingid": "<会议id>", "invitees": [{"userid": "lisi"}, {"userid": "wangwu"}]}'

入参说明

参数类型必填说明
meetingidstring会议 ID, 通过 wecomcli-get-meeting 技能获取
inviteesarray受邀成员列表, 每项包含 userid 字段

注意: invitees 为全量覆盖, 传入的列表将替换现有成员列表. invitees 的 userid 通过 wecomcli-lookup-contact 技能获取

返回参数

{
  "errcode": 0,
  "errmsg": "ok"
}

典型工作流

工作流 1: 取消会议

示例: 用户说 "帮我取消明天的技术方案评审会议"

步骤:

  1. 定位会议: 通过 wecomcli-get-meeting 技能查询会议列表 + 关键词匹配找到目标会议.
  2. 直接执行取消:
wecom-cli meeting cancel_meeting '{"meetingid": "<target_meetingid>"}'
  1. 展示结果:
✅ 会议已取消: 技术方案评审

工作流 2: 更新会议成员

示例: 用户说 "把王五加到技术方案评审会议里"

步骤:

  1. 定位会议: 通过 wecomcli-get-meeting 技能查询会议列表 + 匹配找到目标会议.
  2. 获取当前受邀成员: set_invite_meeting_members 为全量覆盖, 必须先通过 wecomcli-get-meeting 技能的 get_meeting_info 获取会议详情, 获取现有成员后再合并.
  3. 通讯录查询: 调用 wecomcli-lookup-contact 技能获取通讯录成员, 按姓名筛选出王五的 userid.
wecom-cli contact get_userlist '{}'

在返回的 userlist 中筛选 name 包含 "王五" 的成员, 获取其 userid.

  1. 合并成员列表: 将现有成员 + 新增成员合并 (全量覆盖).
  2. 执行更新:
wecom-cli meeting set_invite_meeting_members '{"meetingid": "<target_meetingid>", "invitees": [{"userid": "zhangsan"}, {"userid": "lisi"}, {"userid": "wangwu"}]}'
  1. 展示结果:
✅ 会议成员已更新: 技术方案评审
👥 当前成员: 张三, 李四, 王五

注意事项

  • 参与人仅支持企业内成员, 不支持外部人员
  • 通讯录查询: 涉及参与人时, 需先通过 wecomcli-lookup-contact 技能的 get_userlist 接口获取全量通讯录成员, 再按姓名/别名本地筛选匹配出对应的 userid. 该接口无入参, 返回当前用户可见范围内的成员列表 (含 userid, name, alias)
  • 定位会议: 管理操作需先通过 wecomcli-get-meeting 技能查询到目标会议的 meetingid
  • 成员更新为全量覆盖: set_invite_meeting_members 传入的列表将替换现有成员列表, 需先获取当前成员再合并