wecomcli-edit-meeting

Original🇨🇳 Chinese
Translated

WeCom meeting management skill, which supports canceling meetings and updating meeting invited members. It is triggered when users need to "cancel a meeting", "delete a meeting", "modify meeting members", "add meeting participants", or "remove meeting members".

9installs
Added on

NPX Install

npx skill4agent add wecomteam/wecom-cli wecomcli-edit-meeting

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

WeCom Meeting Management Skill

wecom-cli
is a command-line program provided by WeCom, all operations are completed by executing the
wecom-cli
command.

Overview

wecomcli-edit-meeting provides WeCom meeting management capabilities, including the following functions:
  1. Cancel meeting - Cancel a specified scheduled meeting
  2. Update meeting invited members - Modify the participant list of a meeting

Command Calling Method

Call the specified command:
bash
wecom-cli meeting <tool_name> '<json_params>'

Detailed Command Description

1. Cancel meeting (cancel_meeting)

Cancel the specified scheduled meeting.

Calling Command

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

Parameter Description

ParameterTypeRequiredDescription
meetingid
stringYesMeeting ID, obtained through the
wecomcli-get-meeting
skill

Return Parameters

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

2. Update meeting invited members (set_invite_meeting_members)

Update the invited member list of the meeting (full coverage).

Calling Command

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

Parameter Description

ParameterTypeRequiredDescription
meetingid
stringYesMeeting ID, obtained through the
wecomcli-get-meeting
skill
invitees
arrayNoList of invited members, each item contains the
userid
field
Note: invitees is full coverage, the incoming list will replace the existing member list. The userid of invitees is obtained through the
wecomcli-lookup-contact
skill

Return Parameters

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

Typical Workflows

Workflow 1: Cancel a meeting

Example: User says "Help me cancel tomorrow's technical solution review meeting"
Steps:
  1. Locate the meeting: Query the meeting list through the
    wecomcli-get-meeting
    skill + keyword matching to find the target meeting.
  2. Directly execute cancellation:
bash
wecom-cli meeting cancel_meeting '{"meetingid": "<target_meetingid>"}'
  1. Display result:
✅ Meeting has been canceled: Technical Solution Review

Workflow 2: Update meeting members

Example: User says "Add Wang Wu to the technical solution review meeting"
Steps:
  1. Locate the meeting: Query the meeting list through the
    wecomcli-get-meeting
    skill + matching to find the target meeting.
  2. Get current invited members:
    set_invite_members
    is full coverage, you must first get the meeting details through the
    get_meeting_info
    of the
    wecomcli-get-meeting
    skill, get the existing members and then merge.
  3. Address book query: Call the
    wecomcli-lookup-contact
    skill to get address book members, filter out Wang Wu's userid by name.
bash
wecom-cli contact get_userlist '{}'
Filter members whose
name
contains "Wang Wu" in the returned
userlist
to get their
userid
.
  1. Merge member list: Merge existing members + new members (full coverage).
  2. Execute update:
bash
wecom-cli meeting set_invite_meeting_members '{"meetingid": "<target_meetingid>", "invitees": [{"userid": "zhangsan"}, {"userid": "lisi"}, {"userid": "wangwu"}]}'
  1. Display result:
✅ Meeting members have been updated: Technical Solution Review
👥 Current members: Zhang San, Li Si, Wang Wu

Notes

  • Participants only support internal enterprise members, external personnel are not supported
  • Address book query: When involving participants, you need to first obtain the full address book member list through the
    get_userlist
    interface of the
    wecomcli-lookup-contact
    skill, and then filter and match the corresponding
    userid
    locally by name/alias. This interface has no input parameters and returns the list of members within the current user's visible range (including
    userid
    ,
    name
    ,
    alias
    )
  • Locate meeting: Management operations need to first query the meetingid of the target meeting through the
    wecomcli-get-meeting
    skill
  • Member update is full coverage: The list passed in
    set_invite_members
    will replace the existing member list, you need to get the current members first and then merge