List chats
list_chatsLists the user's chats across their connected networks, pinned first, then the most recent, a page at a time; email chats (network email) newest first. Filters by unread messages or by chat name. Leaves archived chats out.
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": "list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Chats per page. | |
| query | No | Part of a chat's name, matched ignoring case. Exact matches come first. | |
| cursor | No | next_cursor from the page before. Without it, the first page. | |
| unread | No | true: only chats with unread messages. false: only chats without. | |
| network | No | Only this network's chats, such as whatsapp. Email is left out unless this is email. |