whatsapp_get_conversation
Get message history for a specific WhatsApp conversation by providing the phone number. Optionally set a limit on the number of messages returned.
Instructions
Get the message history for a conversation with a specific phone number. Requires webhook server.
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": {
"phone_number": "<phone_number>"
},
"name": "whatsapp_get_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to return (default 50) | |
| phone_number | Yes | Phone number in E.164 format, e.g. +15551234567 |