# resend_verification_code

Resend a booking code to the contact already on an active hold. Requires holdToken. Wait 60 seconds between sends; at most 3 resends. Does not extend the hold or reset guessing attempts. Ask the customer for the new code, then call verify_booking.

Canonical: https://bookwise.live/docs/tools/resend_verification_code

Version: 1.1.0
Scope: Directory + business
Authentication: As specified in parameters
Category: Booking management

## Parameters

- **bookingId** (string; required): Parent booking ID from create_hold (holdId), confirm_booking, or list_bookings. Never pass a child allocation ID.
- **holdToken** (string; required): Secret holdToken returned by create_hold, used before customer verification.
- **idempotencyKey** (string; required): Generate a UUID per intended mutation. Reuse the same key and identical parameters only when retrying that action.

## Example MCP call

Replace placeholders with returned IDs and saved credentials. Example dates must be replaced with the customer's future dates.

```json
{
  "name": "resend_verification_code",
  "arguments": {
    "bookingId": "<bookingId>",
    "holdToken": "<saved-hold-token>",
    "idempotencyKey": "<new-UUID-for-this-action>"
  }
}
```

## Input JSON Schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "bookingId": {
      "type": "string",
      "minLength": 1,
      "description": "Parent booking ID from create_hold (holdId), confirm_booking, or list_bookings. Never pass a child allocation ID."
    },
    "holdToken": {
      "type": "string",
      "minLength": 10,
      "description": "Secret holdToken returned by create_hold, used before customer verification."
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "description": "Generate a UUID per intended mutation. Reuse the same key and identical parameters only when retrying that action."
    }
  },
  "required": [
    "bookingId",
    "holdToken",
    "idempotencyKey"
  ]
}
```

## Output JSON Schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "bookingId": {
      "type": "string"
    },
    "channel": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string"
    },
    "nextStep": {
      "type": "string"
    }
  },
  "required": [
    "bookingId",
    "channel",
    "expiresAt",
    "nextStep"
  ],
  "additionalProperties": false
}
```

## Annotations

```json
{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}
```

On failure, inspect isError and content; domain errors may include structuredContent.code, retryable, details.fields or alternatives. Annotations are behavior hints, not authorization.
