List conversations
dosai_list_conversationsList dialogs, most recently active first. A dialog is either a chat with one person (kind=direct, chat_id wz_ for WhatsApp, tg_… for Telegram, ig_… for Instagram) or a WhatsApp GROUP the bot is turned on in (kind=group, chat_id wg_, no phone, client_name = the group's subject). Pass kind to get only one of them. Groups are read and written exactly like any other dialog, through get_messages and send_operator_message. Names: client_name is the name the person set in WhatsApp (or the one given in the cabinet); saved_name is how the OWNER saved them in the phone's contacts (WhatsApp only, null = not saved). saved_names_status: ok; book_not_synced (the contacts have not reached us yet, so null means unknown); unavailable (could not ask right now, try again later).
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": {
"project_id": "<project_id>"
},
"name": "dosai_list_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | direct = a chat with one person, group = a WhatsApp group. Omit for both. | |
| page | No | Page number, default 1. | |
| limit | No | Rows per page, max 50, default 20. | |
| status | No | open | resolved | closed. | |
| project_id | Yes | From dosai_list_projects. | |
| include_archived | No | Include archived dialogs, hidden by default. |