Rubika (own account): leave
rubika_web_leave_chatLeaves a Rubika group or channel from the signed-in web account after explicit user approval; requires confirm=true and a chat allowed by configuration.
Instructions
Leave one group or channel. 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>",
"confirm": "<confirm>"
},
"name": "rubika_web_leave_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or an object guid from messaging_web_list_chats | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. |