b24_im_recent
List recent Bitrix24 chats and dialogs with last messages and unread counters; use the returned DIALOG_ID to read message history or filter to 1:1 conversations.
Instructions
List the acting user's recent chats/dialogs (im.recent.get).
Returns recent conversations with their DIALOG_ID, last message, and unread counters. Use a DIALOG_ID with b24_im_dialog_messages to read history.
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": "b24_im_recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip_chat | No | Skip group chats and show only 1:1 dialogs. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |