preview_message
Validate a Telegram message by previewing its send to check formatting, parse mode, and reply settings without actual delivery.
Instructions
Validate a Telegram send without sending anything.
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": "preview_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Chat ID, @username, or omitted for TELEGRAM_DEFAULT_CHAT_ID. | |
| text | Yes | Message text. | |
| parse_mode | No | Client-side parse mode. | |
| reply_to_message_id | No | Message ID to reply to. |