set_group_card
Update or clear a member's group card (nickname) in a specified group. Pass an empty string to remove the custom card and restore their default display.
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 | 目标群号。用 get_group_list 取真实值,别凭记忆填 |