create_booking
Create new vacation rental bookings in Lodgify by specifying property details, guest information, dates, and pricing.
Instructions
Create a new booking.
Args:
property_id: The property ID for the booking
room_type_id: The room type ID within the property
arrival: Arrival date (YYYY-MM-DD)
departure: Departure date (YYYY-MM-DD)
guest_name: Guest's full name
guest_email: Guest's email address
guest_phone: Guest's phone number
guest_country_code: Guest's country code (e.g., "US", "CA")
people: Number of people (default: 2)
total: Total booking amount (default: 0.0)
currency_code: Currency code (default: "USD")
status: Booking status (default: "Booked")
source_text: Source description (default: "MCP API")
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>",
"room_type_id": "<room_type_id>",
"arrival": "<arrival>",
"departure": "<departure>",
"guest_name": "<guest_name>",
"guest_email": "<guest_email>",
"guest_phone": "<guest_phone>",
"guest_country_code": "<guest_country_code>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | Yes | ||
| room_type_id | Yes | ||
| arrival | Yes | ||
| departure | Yes | ||
| guest_name | Yes | ||
| guest_email | Yes | ||
| guest_phone | Yes | ||
| guest_country_code | Yes | ||
| people | No | ||
| total | No | ||
| currency_code | No | USD | |
| status | No | Booked | |
| source_text | No | MCP API |