list_chats
List recent chats—DMs, groups, project group chats—with unread counts and last-message times; filter by chat type or title substring.
Instructions
Chats (DMs, groups, project group chats), most recent first: id, title (DMs are titled with the other person's name), kind, unread count, last message time. Filter by kind "dm"|"group"|"project" or by a title substring. Chat arguments elsewhere accept ids or titles.
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 |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| query | No | ||
| only_unread | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |