list_chats
List Telegram chats, groups, and channels with unread and member counts and your role, then filter by archive, unread, strangers, deleted accounts, or inaccessible chats.
Instructions
List chats, groups and channels with unread counts, member counts and your role.
archived: None = all chats, True = only the Archive folder, False = only the main list. deleted_accounts_only: private chats whose other side deleted their account. strangers_only: private chats with real people who are NOT in your contacts. kind "inaccessible" = groups/channels you were removed from or that no longer exist.
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 | all | |
| limit | No | ||
| archived | No | ||
| unread_only | No | ||
| strangers_only | No | ||
| deleted_accounts_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |