Rubika (own account): remove member
rubika_web_remove_memberRemoves or bans a single member from a Rubika chat after explicit approval, requiring a confirm flag to apply the account change.
Instructions
Remove (ban: true also blocks) one member. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.
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": {
"chatId": "<chatId>",
"userId": "<userId>",
"confirm": "<confirm>"
},
"name": "rubika_web_remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ban | No | ||
| chatId | Yes | "me" for Saved Messages, @username, or an object guid from messaging_web_list_chats | |
| userId | Yes | userId from get_members or get_contacts. | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. |