Delete Message
delete_messageRemoves a bot message from a chat using its message ID. Specify the message_id to delete.
Instructions
Delete a message sent by the bot. Requires the message_id.
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": {
"message_id": "<message_id>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The ID of the message to delete |