List chats
telegram_list_chatsLists your Telegram private chats, groups, and channels by recent activity, returning IDs, titles, usernames, unread counts, and last-message previews for selecting a chat or paging through results.
Instructions
Lists the account's chats (private chats, groups, channels), most recently active first, with id, title, @username, unread count and a preview of the last message. The id is what the other tools take as 'chat'. When the page is full the result has 'next_cursor'; pass it back as 'cursor' for more.
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": "telegram_list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many chats to return. | |
| cursor | No | The 'next_cursor' of the previous page, to continue after it. |