List in-scope dialogs
list_dialogsLists chats, groups, and channels in scope, returning paginated metadata (ID, title, kind, unread count, pinned, forum status) with a cursor for the next page.
Instructions
List the chats, groups, and channels within this endpoint’s scope. Returns dialog metadata (id, title, kind, unread count, pinned, is_forum) one page at a time; pass back cursor to fetch the next page. When is_forum is true the dialog is a forum supergroup — use list_topics to enumerate its topics. Out-of-scope dialogs are never returned. Titles are untrusted and emitted under chat_title.
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 | Page size, clamped to [1, 100] (default 20). | |
| cursor | No | Opaque pagination cursor returned by a prior page; pass verbatim. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dialogs | Yes | The in-scope dialogs for this page. | |
| truncated | No | True when the page was cut to fit the output byte cap; re-query with a smaller limit. | |
| next_cursor | No | Opaque cursor for the next page; pass it back verbatim to continue. |