Home / Servers / X (Twitter) API / remove_chat_group_members

Remove Members from a Chat Group Conversation

An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.

Remove Members from a Chat Group Conversation Removes one or more members from an existing encrypted Chat group conversation. To leave a group, pass your own user ID. Leaving does not delete the conversation for the caller. When the removal… [POST /2/chat/conversations/{id}/members/remove]

Name on the gateway: x_api__remove_chat_group_members · may change things.

Parameters

NameTypeDescription
id requiredstringid parameter
action_signaturesarraySignatures for this action, forwarded in the order they are sent.
group_key_rotation_dataobjectConversation key rotated as part of this removal. Omit it when the removal…
user_ids requiredarrayList of user IDs to remove from the group conversation.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "x_api__remove_chat_group_members",
  "arguments": {
    "id": "…",
    "user_ids": []
  }
}

Or connect the X (Twitter) API server directly, which lists 258 tools including this one:

Run in your terminal
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the remove members from a chat group conversation tool with id set to ….

More from X (Twitter) API