List old WhatsApp chats from the owner's phone
dosai_list_old_chatsWhatsApp chats the owner had in the phone BEFORE the number was connected, newest first: phone (null when WhatsApp hides it), name (set by the person), saved_name (the owner's contacts), had_messages (there was a real conversation, not just an empty chat entry), saved_in_contacts, last_message_at and last_client_message_at (null = unknown: times are kept only for chats seen since 05.11.2026), conversation_id (the dialog in the cabinet, null = none yet). The messages themselves are not here: open the dialog with dosai_open_conversation and the old messages are pulled from the phone with the first new message. Private chats of the owner are in this list too (family, friends): do not write to someone just because they are here. Requires editor role.
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_old_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, default 1. | |
| limit | No | Rows per page, default 100, at most 200. | |
| project_id | Yes | Project id, as returned by dosai_list_projects. |