设置群名片
set_group_cardChange a group member's displayed nickname (group card) in a specified group. Pass an empty card to remove the existing nickname.
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>",
"user_id": "<user_id>"
},
"name": "set_group_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | 新群名片;传空字符串清除 | |
| user_id | Yes | 成员QQ号 | |
| group_id | Yes | 群号 |