send_voice
Sends a voice message to a QQ friend, group, or contact using an audio URL, file path, or base64; audio is converted automatically before delivery.
Instructions
Send a voice message (mp3/wav/silk/amr… from URL, path or base64; converted automatically).
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": {
"target": "<target>",
"file": "<file>"
},
"name": "send_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | URL / path / base64 of the audio | |
| target | Yes | Who to talk to: "qq:<QQ号>" for a friend/private chat, "group:<群号>" for a group, a bare number, or a friend remark/nickname/group name (must be unambiguous). |