退出群聊
set_group_leaveMakes the bot leave a specified group. Confirm before calling, as this action is irreversible. Optionally dismisses the group if the bot is the owner.
Instructions
让机器人主动退出指定群。不可逆,确认后再调用。
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": {
"group_id": "<group_id>"
},
"name": "set_group_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 群号 | |
| is_dismiss | No | 群主解散群时是否解散群 |