Book the reservation
create_reservationUse only after the user explicitly asked to book and, asked in one question of its own, accepted the terms and the privacy policy and answered about marketing messages (a yes to the booking is not a yes to the terms): creates the reservation from checkout_id with the driver's details. The booking is not confirmed until the user enters the code sent to them (confirm_reservation_code) or pays on beep.rent. Calling again with the same checkout returns the same reservation. Show the user the price, the deposit and the cancellation policy before calling this tool. Example: {"checkout_id":"from_checkout","customer":{"first_name":"Anna","last_name":"Nowak","email":"anna@example.com","phone":"+48500600700"},"consents":{"terms":true,"rental_terms":true,"marketing":false}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | ||
| comment | No | ||
| invoice | No | ||
| consents | Yes | ||
| customer | Yes | ||
| checkout_id | Yes | ||
| accept_changes | No | Set only after the user accepted the changed terms returned with status requires_review. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | ||
| reason | No | ||
| status | No | ok | |
| changes | No | ||
| deposit | No | ||
| payment | No | ||
| pricing | No | ||
| messages | No | ||
| policies | No | ||
| replayed | No | ||
| expires_at | No | ||
| next_steps | No | ||
| reservation | No | ||
| capabilities | No | ||
| confirmation | No | ||
| continue_url | No | ||
| status_token | No | ||
| content_language | No | ||
| partner_decision | No | ||
| reservation_number | No | ||
| partner_confirmation | No |