Remove Member
remove_memberRemove a user from a group chat. Optionally block them from rejoining. The bot must be an admin of the chat.
Instructions
Remove a user from a group chat. The bot must be an admin of the chat. Optionally block the user from rejoining. WARNING: If the user has privacy mode enabled in MAX settings, the bot will not be able to re-add them after removal — confirm with the user before proceeding.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"user_id": "<user_id>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat_id of the group chat | |
| user_id | Yes | The user_id of the member to remove | |
| block | No | Block user from rejoining the chat (default: false) |