send_voice
Send a base64-encoded voice message to a QQ group or friend. Common audio formats are automatically converted for QQ voice playback.
Instructions
Send a base64-encoded voice message to a QQ group or friend.
NapCat auto-converts common audio formats (MP3, WAV, AMR, OGG, FLAC) to SILK for QQ voice playback. For text use send_message, for images use send_image, for files use send_file.
Behavior: same rate limiting as send_message. Voice messages cannot be replied to (no reply_to parameter).
Mutates the chat by sending a voice message.
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>",
"audio": "<audio>"
},
"name": "send_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| audio | Yes | ||
| target_type | No | group |