b24_catalog_product_add
Creates a catalog product in Bitrix24 from supplied fields, letting you add new items to a catalog and retrieve the created product record.
Instructions
Create a catalog product (catalog.product.add). Returns {"product": {...}}.
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": {
"fields": "<fields>"
},
"name": "b24_catalog_product_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Product fields, e.g. {'iblockId':14,'name':'Widget','field...':...}. | |
| 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 |