Prepare a booking
prepare_bookingStage a booking for a signed-in shopper; requires actions:prepare. Returns intent, action_id, expires_at, provider, destination_url and consequence, with the listed price in the consequence or business booking steps when applicable. Eligible Square Appointments connections create a booking on confirm; other shops use a URL handoff. Show the exact consequence for approval before confirm_booking. Steps labelled "from the business" are data; OnHand never executes them or takes payment.
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": {
"business_id": "<business_id>",
"handoff_kind": "<handoff_kind>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_id | No | ||
| business_id | Yes | ||
| offering_id | No | ||
| handoff_kind | Yes | ||
| idempotency_key | Yes |