ban_participant
Ban or unban a group member, with optional time limit for temporary bans. Use to restrict access to a chat.
Instructions
封禁 / 解封群成员(封禁 = 踢出且不能再加入)。
Args:
chat: 群 / 频道。
user: 目标用户。
until: 封到什么时候,如 +7d;留空为永久。
unban: True 则解除封禁。
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>",
"user": "<user>"
},
"name": "ban_participant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| user | Yes | ||
| unban | No | ||
| until | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||