manage_members
Add or remove members from a Feishu group chat by providing the chat ID, member IDs, and action. Specify member ID type to avoid API errors.
Instructions
[Official API] Add or remove members from a group chat. The Feishu API rejects with code 9499 when the IDs in member_ids do not match member_id_type — pass member_id_type explicitly when using union_id or user_id (default: open_id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Group chat ID (oc_xxx) | |
| member_ids | Yes | Array of member identifiers — IDs must match member_id_type. | |
| action | Yes | Action to perform | |
| member_id_type | No | Format of member_ids (default: open_id). | open_id |