List Telegram chats
list-telegram-chatsList synced Telegram chats—private chats, groups, supergroups, and channels—by recent activity, returning each chatId for other Telegram tools and supporting pagination when more chats exist.
Instructions
[Telegram] List synced Telegram chats — private chats, groups, supergroups and channels — most recently active first, with the chatId needed by the other Telegram tools. A chatId is a string of digits (negative for groups and channels); always pass it back as a string. If this connector is scoped to specific chats, only those are listed. This answers one page: when hasMore is true there are more chats, so walk nextPage before concluding a chat does not exist. Each chat carries history: when history.complete is false, older messages in that chat were not synced. A chat with migratedTo is a group that was upgraded; its newer messages are in the chat that names.
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-telegram-chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page, most recently active first. Walk this up while `hasMore` is true. | |
| limit | No | How many chats to return in this page |