resolve_ndr_issue
Verify that a consignment exists on the specified courier via 'track_parcel' and generate honest, draft-only Non-Delivery Report (NDR) re-engagement copy ('status: DRAFT_GENERATED', 'actions_executed: []'). GENERATION-ONLY TOOL: Verifies consignment_id first (returns CONSIGNMENT_NOT_FOUND if unknown), then generates proposed Bengali WhatsApp copy ('whatsapp_draft') and a carrier escalation ticket draft ('courier_ticket_draft') for manual merchant execution.
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": {
"consignment_id": "<consignment_id>",
"courier": "<courier>",
"issue_type": "<issue_type>"
},
"name": "resolve_ndr_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courier | Yes | Courier provider | |
| issue_type | Yes | Reason for failed delivery | |
| customer_name | No | Customer full name | |
| consignment_id | Yes | Existing tracking code or consignment ID to verify and generate NDR drafts for | |
| customer_phone | No | Customer mobile number | |
| reschedule_date | No | Preferred delivery date (if rescheduled) | |
| corrected_address | No | Corrected delivery address (if wrong address) |