im_chat_messages
Fetch messages from Bitrix24 chats, channels, or private dialogs, including threads. Use first_id and limit to paginate through older messages.
Instructions
Получить сообщения из чата/канала/личного диалога; для доступных тредов добавляет thread
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dialog_id": "<dialog_id>"
},
"name": "im_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Количество сообщений (по умолчанию 20) | |
| first_id | No | ID первого сообщения для пагинации (старые сообщения) | |
| dialog_id | Yes | ID диалога: 'chat123' для группового чата, '75' для личного диалога с user_id=75 |