set_group_ban
Mute a QQ group member for a set duration or unmute them by setting duration to 0; permission depends on the account's role in that group.
Instructions
禁言群成员(duration=0 解除) 替换群号和成员 QQ 号;操作是否允许取决于当前账号在该群的权限。 duration 为秒,0 表示解除禁言。
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>",
"user_id": "<user_id>"
},
"name": "set_group_ban"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | QQ 号 | |
| duration | No | ||
| group_id | Yes | 群号 |