delete_message
Remove a specific message from a Telegram chat by providing the chat ID and message ID.
Instructions
Delete a 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>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat ID containing the message | |
| messageId | Yes | The message ID to delete |