Confirm booking status
confirm_bookingCheck the payment status of a booking created by prepare_booking. Read-only and idempotent: repeat calls with the same idempotencyKey return the same state, and it creates nothing and confirms nothing by itself. Usage: call this after prepare_booking, and again after the customer reports paying, until the status is confirmed or expired. Report whether a prepared booking is confirmed by payment, still awaiting payment, or expired; it never confirms a booking itself. Once paid, it returns the Meet link, receipt link, a calendar event with ICS and stable UID, and agent instructions; it returns no management link. QConsul also emails the customer the calendar invitation; the agent reports the booking to its customer and deduplicates any calendar entry on the UID.
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": {
"prepareToken": "<prepareToken>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "confirm_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prepareToken | Yes | The prepareToken returned by prepare_booking for the booking being checked. Required; there is no other way to look a booking up. | |
| idempotencyKey | Yes | A unique key you choose for this check, e.g. a UUID. Repeat calls with the same key return the same state; use a new key only for a new check after time has passed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| message | No | ||
| calendar | No | ||
| meetLink | No | ||
| bookingNumber | No | ||
| holdExpiresAt | No | ||
| paymentReceiptUrl | No |