list_dialogs
Retrieve your Telegram chats and channels, most recently active first, to find the numeric chat IDs needed for alert rule scopes. Supports unread-only and archived filters.
Instructions
List your Telegram chats/channels, most recently active first.
Use this to find the numeric chat ids you need for alert rule scopes.
Args: limit: max number of dialogs to return. unread_only: only return dialogs with unread messages. include_archived: include archived chats (excluded by default).
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_dialogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| unread_only | No | ||
| include_archived | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |