get_record
Retrieves QQ voice message details and download URL, and when out_format is set, converts the audio and returns it as base64 for message workflows.
Instructions
获取语音信息;传 out_format 则服务端转码并附带 base64 file 来自语音消息段;格式转换依赖服务端可用的转换工具,成功时增加 out_format 和 base64。 Returns: 语音信息(file/url 为向 QQ 获取的当前下载地址);资源元数据缺失或远端获取失败时返回错误。out_format 指定时附带转码后的 base64。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| file_id | No | ||
| out_format | No |