update_my_member
Updates your own membership profile in a group chat, currently letting you change your nickname by providing a new name.
Instructions
修改自己的群成员信息。
目前仅支持修改昵称,例如传入 {"name": "新昵称"}。
Args: group_id: 群组 ID。 token: 本人身份令牌。 updates: 字段名到新值的映射,目前仅支持 name。
Returns: 修改后的成员信息。
Raises: GroupNotFoundError: 群组不存在。 NotGroupMemberError: 本人不在群内。 InvalidFieldError: 字段名不存在。 InvalidFieldValueError: 字段值不合法。
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>",
"token": "<token>",
"updates": "<updates>"
},
"name": "update_my_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| updates | Yes | ||
| group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||