List dialogs
tg_list_dialogsList Telegram channels, groups, and private chats an account has joined, including private channels. Filter by kind or query and control fields, limit, and format for compact context.
Instructions
List the channels, groups and private chats the account has joined (including private channels).
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": "tg_list_dialogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| limit | No | ||
| query | No | Filter by title or username | |
| fields | No | Keep only these fields in list items (e.g. ["message_id","name","size"]) | |
| format | No | compact = lists as {columns, rows} tables; saves a lot of context for long listings | json |
| account | No | Account id (see tg_list_accounts). Defaults to the default account. |