create_booking
Creates a booking request for a room option (room_key) and returns a secure Stripe payment link (payment_url) that the guest opens and pays. The card is only authorised; it is charged when the property confirms, usually within a few hours and at the latest 24 hours. If the property declines, the authorisation is released and nothing is charged.
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": {
"property_id": "<property_id>",
"checkin": "<checkin>",
"room_key": "<room_key>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"email": "<email>",
"phone": "<phone>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| notes | No | Guest requests for the property (optional). | |
| phone | Yes | With international prefix, e.g. +1 917 555 0123. | |
| rooms | No | ||
| adults | No | ||
| nights | No | ||
| checkin | Yes | ||
| language | No | ||
| room_key | Yes | room_key of the chosen room/rate option. | |
| last_name | Yes | ||
| first_name | Yes | ||
| property_id | Yes | ||
| children_ages | No |