Wyślij kod ponownie
resend_confirmation_codePURPOSE: Re-sends the SMS code of a prepared booking. WHEN TO USE: Only when the customer says the SMS from prepare_booking did not arrive. WHEN NOT TO USE: Not after a wrong code (ask the customer to re-type it) and not to start a new booking. REQUIRED: confirmation_id. SIDE EFFECTS: sends one SMS (max 1 per minute, 3 per 30 minutes per phone; otherwise error rate_limited with retry_after).
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": {
"confirmation_id": "<confirmation_id>"
},
"name": "resend_confirmation_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. | |
| confirmation_id | Yes | confirmation_id from prepare_booking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | Stable machine-readable error id when success=false, e.g. missing_required_fields, unsupported_postcode, no_availability | |
| message | No | ||
| success | Yes | true = operation done / data returned; false = see error | |
| expires_at | No | ||
| session_id | No | ||
| code_sent_to | No | ||
| missing_fields | No | ||
| confirmation_id | No |