edit_message
Edit the text of a previously sent WhatsApp 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>",
"newText": "<newText>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newText | Yes | The new text for the message | |
| messageId | Yes | ID of the message to edit (returned from sendMessage) |