bx24_batch
Combine multiple Bitrix24 REST calls into a single batch request. Reference earlier command results inside later calls using $result[key] to streamline workflows.
Instructions
Bitrix24 batch: combine multiple REST calls into one request. Method batch (REST 1.0 + 3.0). Reference earlier results inside later commands with $result[key]. RU/EN: пакет, батч, несколько вызовов, объединить вызовы / batch, combine calls, multiple calls.
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": {
"cmd": "<cmd>"
},
"name": "bx24_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Commands keyed by logical name. Each value is a REST call string like 'crm.lead.list?filter[STATUS_ID]=NEW&select[]=ID&select[]=TITLE'. Reference results: 'crm.deal.add?fields[TITLE]=$result[lead][TITLE]'. | |
| halt | No | If true, batch stops on the first command error (default false) | |
| confirm | No | Set to true to confirm destructive commands when BX24_CONFIRM_DESTRUCTIVE is enabled. |