Confirm order request with emailed code
confirm_orderConfirm an order request with the 6-digit code the buyer received by email, plus order_number and order_secret from place_order. Use it after place_order, when the buyer tells you the code. Do not call it without a code from the buyer; never guess it. Returns status: verified (sent to the manager), already (was confirmed before), invalid (wrong data; attempts_left shows how many tries remain), locked, expired (call resend_code); plus a message. 8 attempts per order request in total (a resent code does not reset them). After confirmation the request goes to a manager; no payment is taken.
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>",
"code": "<code>"
},
"name": "confirm_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The 6-digit confirmation code from the email the buyer received, digits only, e.g. "482913". Ask the buyer for it; never guess (8 attempts per order request). | |
| 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. |