Платформа: отменить заказ
platform_cancel_requestCancel a delivery order using its request ID. Stops the courier before the recipient receives the package and returns cancellation status, reason, and description.
Instructions
Отменяет заказ в логистической платформе. Курьерский заказ можно отменить до статуса DELIVERY_TRANSPORTATION_RECIPIENT (передача получателю). Возвращает status (CREATED | SUCCESS | ERROR), reason и description. Ошибки: 403 — чужой заказ/нет прав, 404 — не найден.
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": {
"request_id": "<request_id>"
},
"name": "platform_cancel_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | id заказа в платформе (из platform_confirm_offer). |