list_chats
Retrieve recent Telegram dialogs and chats, with filters for chat type, archived status, unread-only, and result limit. Use it to discover conversations before reading or sending messages.
Instructions
List recent Telegram dialogs/chats. chat_type: 'all', 'user', 'bot', 'group', or 'channel'.
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 | ||
| archived | No | ||
| chat_type | No | all | |
| unread_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |