tg_list_chats
List Telegram chats in native order—pinned first, then recent activity—with filters for chat type, unread status, and title or @username queries.
Instructions
List dialogs in Telegram's order (pinned first, then newest activity): id, title, type, unread count, last message.
kind filters by type ("private" includes Saved Messages). query matches the title or @username.
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": "tg_list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| limit | No | ||
| query | No | ||
| unread_only | No |