Create a private handover code
create_recipient_codeGenerate or replace a six-digit code for a delivery stop requiring OTP proof. Share it privately with the intended recipient, never the driver. Replacing invalidates the old code. Expires in seven days; five failed attempts lock it.
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": {
"delivery_id": "<delivery_id>",
"stop_id": "<stop_id>"
},
"name": "create_recipient_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop_id | Yes | ||
| delivery_id | Yes |