leave_chat
Make the bot leave a specific chat by providing its chat ID or username, stopping all future updates from that chat.
Instructions
Leave a chat. The bot will no longer receive updates from this chat.
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>"
},
"name": "leave_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID or @channel_username to leave (required) |