list_chats
List visible Telegram chats, channels, and groups, newest first, to retrieve their IDs or @usernames for use with other tools.
Instructions
List the Telegram chats, channels and groups this account can see, newest activity first. Use it to find the id or @username to pass to the other tools. Read-only.
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 | Restrict to one kind of chat. Default: all. | |
| limit | No | Max chats to return. Default 50. | |
| query | No | Case-insensitive filter over title and @username. |