edit_message
Modify a previously sent Telegram message by specifying the chat, message ID, and new text. Replace outdated content with updated information directly in the chat.
Instructions
Edit an existing 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": {
"messageId": "<messageId>",
"chatId": "<chatId>",
"newText": "<newText>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat ID containing the message | |
| newText | Yes | The new text for the message | |
| messageId | Yes | The message ID to edit |