Email a new confirmation code
resend_codeEmail the buyer a new confirmation code when the first did not arrive or expired (30 minutes). Use it only after place_order, when the buyer says no email came (after 10 minutes and a spam check) or the code expired; do not use it to confirm (confirm_order). Needs order_number and order_secret from place_order. At most 2 resends per order request; the old code stops working. Returns status: sent, already (confirmed, nothing to resend), invalid, limit, locked, expired (place a new order request); resends_left and a message.
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": {
"order_number": "<order_number>",
"order_secret": "<order_secret>"
},
"name": "resend_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_number | Yes | order_number from the place_order reply: a positive integer, e.g. 1042. | |
| order_secret | Yes | order_secret from the place_order reply: 32 lowercase hexadecimal characters. Pass it exactly as received; it is shown only in that reply, so keep it for this conversation. |