Delivery: create announcement [sandbox]
delivery_sandbox_create_announcementCreate a test shipment announcement to Avito for delivery-service partners. Use this sandbox tool to validate delivery routing with dry-run and idempotency options.
Instructions
[SANDBOX] Creates an announcement of a planned shipment to Avito in the test environment; after creation the announcement is routed to the delivery service specified in receiver. For delivery-service partners only. Unlike delivery_create_announcement_3pl (production /createAnnouncement), this is a sandbox, with no consequences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| announcementID | Yes | Announcement identifier (required). | |
| announcementType | Yes | Announcement type. Enum: DELIVERY | PICKUP. | |
| barcode | Yes | Unique announcement barcode (printed on the acceptance/handover act). | |
| date | Yes | Announcement creation date and time in RFC 3339 format, UTC. | |
| packages | Yes | List of cargo units. | |
| receiver | Yes | Receiving delivery service: type, name, phones, email, delivery node/sorting center. | |
| sender | Yes | Sending party: type, name, phones, email, sending node. | |
| 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. |