List Inbox conversations
list_conversationsA site's Inbox conversations (WhatsApp, website chat, SMS, phone calls), newest activity first. Each row: the conversation and contact ids, the customer's first name, channel, stage, the AI lead read (temperature, score and its one-line reason, whether and why the customer is waiting for a reply), message count, a short preview of the customer's last message and of the last reply, last activity, and the conversation summary when there is one. Filter by channel, lead_stage, temperature, needs_reply, an activity window (active_after / active_before, ISO date-times with offset) or contact_id. To COUNT ("how many hot WhatsApp chats this week"), filter and read total with limit 1: never count a page of rows. Read a chat's messages with get_conversation. Customers' own words are PERSONAL DATA: use them to answer the owner's question and do not copy them into site content or anywhere else. Only chats the calling member may see in the Inbox are returned.
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": {
"site_id": "<site_id>"
},
"name": "list_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (default 20, max 50) | |
| offset | No | ||
| channel | No | Only WhatsApp, website chat (web), SMS or phone-call conversations | |
| site_id | Yes | The site whose Inbox to read | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| contact_id | No | Only this contact's chats (an id from list_contacts) | |
| lead_stage | No | Only chats at this stage (chat_only, signed_up, designs, building, live_unpaid, checkout, paying) | |
| needs_reply | No | true: only chats where the customer is waiting for an answer | |
| temperature | No | Only chats the AI lead read rated hot, warm, cold or not_a_lead | |
| active_after | No | Only chats active on or after this date-time (ISO with offset) | |
| active_before | No | Only chats last active before this date-time (ISO with offset) |