cdek_create_webhook
Create webhook subscriptions to receive CDEK delivery events like order status changes, print form generation, or delivery updates at a specified URL.
Instructions
Добавление подписки на вебхуки (POST /v2/webhooks).
Типы: ORDER_STATUS, PRINT_FORM, PREALERT_CLOSED, ACCOMPANYING_WAYBILL, ORDER_CHANGED, DELIVERY_COST_CHANGED, DELIVERY_PROBLEM, DELIVERY_DATE_CHANGED, ORDER_MODE_CHANGED, COURIER_INFO.
Args: type: Webhook type (e.g. ORDER_STATUS, PRINT_FORM) url: URL to receive webhook events
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": {
"type": "<type>",
"url": "<url>"
},
"name": "cdek_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |