list_channels
List Telegram broadcast channels (not supergroups) with filters for archive, pinned, unread, and subscriber count. Fetch compact channel details for effective management.
Instructions
Только broadcast-каналы (без supergroup'ов).
Args: archived: 'main' — основной список, 'archive' — только архив, 'both' — всё. Default 'both' — включает архивные. limit: верхняя граница по сырому фетчу диалогов до фильтрации. only_unread: True — только с unread_count > 0. is_pinned: 'any' / 'pinned' / 'unpinned'. min_participants / max_participants: фильтр по подписчикам. compact: default True — payload в ~5x меньше.
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_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| compact | No | ||
| archived | No | both | |
| is_pinned | No | any | |
| only_unread | No | ||
| max_participants | No | ||
| min_participants | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |