get_last_interaction
Fetch the last WhatsApp message involving a specified contact using their JID. Use it to review conversation context or confirm prior contact.
Instructions
Get the most recent WhatsApp message involving the contact.
Args: jid: The JID of the contact to search for
Returns: Message dictionary with id, timestamp, sender, content, etc. or empty dict if not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||