leave_chat
Leave a group, channel, or private chat. Optionally clear local history without deleting for the other party.
Instructions
退出群 / 频道,或删除与某人的私聊对话。
Args: chat: 对话。 delete_history: 退出的同时清空本地这份历史(不为对方删除)。
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": "leave_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| delete_history | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||