Leave chat
telegram_leave_chatLeave a Telegram group or channel by ID or @username, allowing an agent to exit unwanted chats.
Instructions
Leave a group/channel by id or @username.
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": "<chat>"
},
"name": "telegram_leave_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes |