list_chats
Retrieve a paginated list of all chats that the bot has joined, including chat ID, name, and type. Use page parameters to control result size and pagination.
Instructions
[Official API] List all chats the bot has joined. Returns chat_id, name, type.
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 |
|---|---|---|---|
| page_size | No | Items per page (default 20, max 100) | |
| page_token | No | Pagination token |