send_message
Send text messages to a specified Telegram chat using a chat ID or @username. Supports rich formatting, reply-to, and disabling link previews.
Instructions
Send a text message to a Telegram chat.
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>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text (up to 4096 characters). | |
| chat_id | Yes | Target chat id or @username. | |
| parse_mode | No | "HTML", "Markdown", or "MarkdownV2" for rich formatting. | |
| reply_to_message_id | No | If set, the message will reply to this message id. | |
| disable_web_page_preview | No | Disable link previews in the message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||