telegram_send_message
Send text messages to Telegram chats using MarkdownV2 or HTML formatting; split messages over 4096 characters before sending.
Instructions
Send a text message to a Telegram chat. Supports MarkdownV2 and HTML parse modes. Messages longer than 4096 characters are rejected by Telegram — split them first.
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": {
"text": "<text>"
},
"name": "telegram_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text to send. | |
| chat_id | No | Target chat ID (user, group, or channel). Omit to use TELEGRAM_DEFAULT_CHAT_ID. | |
| parse_mode | No | Formatting mode. MarkdownV2 requires escaping _ * [ ] ( ) ~ ` > # + - = | { } . ! |