b24_calendar_event_add
Create a Bitrix24 calendar event by specifying title, start/end times, and optional owner, section, attendees, or location; returns the new event ID.
Instructions
Create a calendar event (calendar.event.add). Returns the new event 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": {
"name": "<name>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "b24_calendar_event_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event title. | |
| extra | No | Any additional calendar.event.add fields (e.g. {'description':'...','attendees':[1,2],'location':'...'}). | |
| date_to | Yes | End, 'YYYY-MM-DD HH:MM:SS'. | |
| owner_id | No | Calendar owner id. Defaults to the acting user (resolved via user.current) for owner_type='user'. | |
| date_from | Yes | Start, 'YYYY-MM-DD HH:MM:SS'. | |
| owner_type | No | Calendar owner type: 'user' (default) or 'group'. | user |
| section_id | No | Target calendar (section) id. If omitted Bitrix uses the owner's default calendar. | |
| 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 |