telegram_send_audio
Send an audio file to a Telegram chat as a music player. Supports local files, URLs, or Telegram file IDs.
Instructions
Send an audio file to a Telegram chat (shown as music player).
Accepts a local file path, a public HTTP(S) URL, or a Telegram file_id.
Args: params (SendAudioInput): chat_id, audio source, optional caption/performer/title.
Returns: str: JSON with the sent Message object or an error description.
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": {
"params": "<params>"
},
"name": "telegram_send_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |