get_last_interaction
Check when you last interacted with a person or group by returning the overall, incoming, and outgoing messages from that WhatsApp chat.
Instructions
When we last talked with a person or group: latest message overall, latest from them, latest from me.
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>"
},
"name": "get_last_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||