b24_im_chat_create
Create a Bitrix24 group chat with a title and specified user IDs, then return the new chat ID to use as DIALOG_ID.
Instructions
Create a group chat (im.chat.add). Returns the new chat id (use 'chat' as DIALOG_ID).
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": {
"title": "<title>",
"users": "<users>"
},
"name": "b24_im_chat_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Chat title. | |
| users | Yes | User ids to add as members, e.g. [12, 34]. | |
| description | No | Optional chat description. | |
| 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 |