send_audio
Send an audio file to a Telegram chat, displaying it in the music player. Supports file IDs, URLs, or local paths, with optional metadata like title, performer, and caption.
Instructions
Send an audio file. Telegram clients display it in the music player.
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": {
"chat_id": "<chat_id>",
"audio": "<audio>"
},
"name": "send_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | File ID, HTTP URL, or absolute file path | |
| title | No | ||
| caption | No | Caption (0-1024 chars) | |
| chat_id | Yes | Chat ID or @username | |
| duration | No | ||
| effect_id | No | ||
| performer | No | ||
| thumbnail | No | File ID, HTTP URL, or absolute file path | |
| parse_mode | No | Formatting mode | |
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| protect_content | No | ||
| caption_entities | No | Array of MessageEntity objects | |
| reply_parameters | No | ReplyParameters object | |
| message_thread_id | No | ||
| allow_paid_broadcast | No | ||
| disable_notification | No | ||
| business_connection_id | No |