get_unanswered_chats
Lists one-to-one chats whose last message came from the other person within the last hours_ago hours (default 24, max 72), so the user may owe them a reply; a reaction from the user after it (e.g. ๐) counts as a reply. Groups aren't included. Checks the 50 most recent active chats in that window, newest first; an empty list means none of them is waiting for a reply. Each chat has its chat_jid, the time and sender of the last message, a preview, and the contact fields (name; name_source: address_book, push_name, group_subject, business, phone or unresolved; canonical_jid: the JID to pass to send_message and read_chat_history; phone_jid and lid_jid: the chat's phone-number and LID forms, null when unknown or for groups; phone_display: the number as +). Use it for "who do I need to reply to?". For a general look at recent activity, including groups and chats where the user wrote last, use get_recent_chats instead. With waiting_on: "them" it lists the reverse, for following up on leads, quotes or payments that went quiet: one-to-one chats where the user sent the last message at least days days ago (default 3, max 30; chats quiet for over 90 days are left out) and the other person hasn't replied or reacted since, most recently sent first, at most 30. For "who hasn't answered what I sent recently / in the last 24 hours?", pass waiting_on: "them" with hours_ago (e.g. 24) instead of days: it then lists chats where the user wrote last within that many hours. Each has its chat_jid, the contact fields, the user's last message (last_message, shortened; last_message_id), last_message_time, days_waiting and hours_waiting. For follow-ups: read the chat with read_chat_history first, then draft one personal follow-up per person that builds on that conversation (call get_writing_style for the chat), show the drafts to the user and send only the ones they approve. Suggest at most 2-3 follow-ups per person in total (count earlier ones in the chat) and stop once they reply. Never send the same text to many people.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_unanswered_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only for waiting_on "them": minimum days since the user's last message (default 3, max 30), for chats that went quiet. Ignored when hours_ago is given. | |
| hours_ago | No | A window, max 72. waiting_on "me": chats whose last message came within this many hours (default 24). waiting_on "them": chats where the user wrote last within this many hours (replaces days). | |
| waiting_on | No | "me" (default): chats waiting for the user's reply. "them": chats where the user wrote last and is waiting for the other person. |