waha_edit_message
Edit text in WhatsApp messages sent by the bot to correct errors or update information in existing conversations.
Instructions
Edit a sent message in a chat. Only works for messages sent by the bot.
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": {
"chatId": "<chatId>",
"messageId": "<messageId>",
"text": "<text>"
},
"name": "waha_edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID (format: number@c.us) | |
| messageId | Yes | Message ID to edit | |
| text | Yes | New message text | |
| linkPreview | No | Enable link preview (default: true) | |
| linkPreviewHighQuality | No | Enable high quality link preview (default: false) |