edit_message
Correct or update a previously sent Telegram message by providing chat ID, message ID, and new text. Supports Markdown or HTML formatting.
Instructions
Edit a sent message
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>",
"message_id": "<message_id>",
"text": "<text>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| chat_id | Yes | ||
| message_id | Yes | ||
| parse_mode | No | Message formatting: 'md' for Markdown, 'html' for HTML |