set_group_card
Set or clear a QQ group member's group card by specifying the group ID and user ID. Use it to update group nicknames, subject to the account's permissions in that group.
Instructions
设置群名片(空字符串清除) 替换群号和成员 QQ 号;操作是否允许取决于当前账号在该群的权限。
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 | 群号 |