Get a booking link
get_booking_linkLink to a listing page with arrival, departure and guests already chosen. The guest books and pays on that page. Without dates, the plain listing page.
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": {
"listing_id": "<listing_id>"
},
"name": "get_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | No | Number of guests. | |
| check_in | No | Arrival date, YYYY-MM-DD. | |
| language | No | Language of names, descriptions and page links. Default en. | |
| check_out | No | Departure date, YYYY-MM-DD. | |
| listing_id | Yes | listing_id from search_listings. |