set_group_portrait
Sets a QQ group portrait using a server-readable image file, with the target group specified by its group ID.
Instructions
设置群头像 示例路径位于 SnowLuma 服务端,须替换为该服务可读取的实际文件。
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>",
"file": "<file>"
},
"name": "set_group_portrait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| group_id | Yes | 群号 |