b24_crm_timeline_comment_add
Post a comment to a CRM record's timeline in Bitrix24 by specifying the entity type, record id, and comment text. Returns the id of the new comment.
Instructions
Post a comment to a CRM record's timeline. Returns the new comment 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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"comment": "<comment>"
},
"name": "b24_crm_timeline_comment_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | Comment text (plain text / BB-code). | |
| entity_id | Yes | Owner record id. | |
| entity_type | Yes | Timeline owner type: 'lead','deal','contact','company','quote', or a SPA type. | |
| 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 |