tg_leave
Exit a group or channel on Telegram. For private chats, set delete=true to permanently erase the conversation on your side; verify before proceeding.
Instructions
Leave a group or channel. For a private chat, delete=true erases the conversation on your side and is not recoverable — ask first.
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": "tg_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| delete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |