Delivery: cancel parcel [sandbox v1]
delivery_v1_cancel_parcelCancel a test parcel in the Avito Sandbox by initiating an acceptance prohibition and proceeding with cancellation if it takes effect. Supports dry-run and idempotency key.
Instructions
[SANDBOX v1] Cancels a test parcel: initiates an acceptance prohibition at the delivery service and, if it took effect, cancels the parcel. Only parcels created via delivery_create_sandbox_parcel_v2 can be cancelled. Available only in the Sandbox. Unlike delivery_sandbox_cancel_parcel (actor field), this is the v1 contract with an options field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parcelID | Yes | Identifier of the test parcel to cancel. | |
| options | No | Additional cancellation options (optional). | |
| dryRun | No | v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false). | |
| idempotencyKey | No | v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design. |