upload_group_file
Uploads a file to a QQ group using the group ID and a server-readable file path, with optional display name, folder, and folder ID.
Instructions
上传群文件 示例路径位于 SnowLuma 服务端,须替换为该服务可读取的实际文件。 Returns: { file_id: string }
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": "upload_group_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| name | No | ||
| folder | No | ||
| group_id | Yes | 群号 | |
| folder_id | No | ||
| upload_file | No |