edit_message
Modify the text of one of your own sent WhatsApp messages by providing the chat, message ID, and new text. Correct or update previously sent messages directly.
Instructions
Edit the text of one of your own sent messages.
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": "<chat>",
"message_id": "<message_id>",
"text": "<text>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us). | |
| text | Yes | ||
| message_id | Yes |