list_dialogs
Retrieve recent Telegram chats with filters for type, unread, archived, and name query.
Instructions
列出最近的对话(聊天列表)。
Args: limit: 返回条数上限,最多 500。 archived: True 则读取归档文件夹。 kind: 只保留某一类对话。 unread_only: 只返回有未读消息的对话。 query: 按对话名字过滤(不区分大小写)。
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_dialogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| limit | No | ||
| query | No | ||
| archived | No | ||
| unread_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |