telegram_send_voice
Send an Opus voice message to a Telegram chat using a local file, HTTP URL, or file_id. Optionally add a caption and duration.
Instructions
Send a voice message (.ogg/Opus) to a Telegram chat.
Accepts a local file path, a public HTTP(S) URL, or a Telegram file_id.
Args: params (SendVoiceInput): chat_id, voice file source, optional caption/duration.
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_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |