message_edit
Edit an existing WhatsApp message by specifying its unique message ID and new content. Provide session ID and chat ID to target the correct conversation.
Instructions
[Message] Edit the 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": {
"sessionId": "<sessionId>"
},
"name": "message_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | The chat id which contains the message | |
| content | No | The content of the message | |
| options | No | Options used when editing the message | |
| messageId | No | Unique WhatsApp identifier for the message | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |