list_members
Retrieves the complete member list for a group chat, automatically paging through all results to return each member's ID and nickname.
Instructions
查看群组内的所有成员。
会自动翻页,返回成员 ID 与昵称的完整列表。
Args: group_id: 群组 ID。 token: 成员身份令牌。
Returns: 成员列表,每项包含 id 与 name。
Raises: GroupNotFoundError: 群组不存在。 NotGroupMemberError: 本人不在群内。
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>"
},
"name": "list_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |