get_group
Retrieve group details by group ID, returning all fields to members and only public fields to guests or invalid-token callers.
Instructions
查看群组信息。
群成员会得到群组的全部字段;未入群或 token 无效时只能得到访客 可见的公开字段。
Args: group_id: 群组 ID。 token: 成员身份令牌,可选。
Returns: 有权限查看的群组信息。
Raises: GroupNotFoundError: 群组不存在或已解散。
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>"
},
"name": "get_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||