book_on_myservice
Create a link to book a hotel on myservice.pk. The link opens TravellerGPT with the hotel, dates and party filled in; the user signs in, confirms the live price, enters guest details and pays there. This tool books, holds and charges nothing. Inputs: hotel id from search results, check-in and check-out (YYYY-MM-DD), adults, children's ages, number of rooms, and optionally the chosen room type. Returns booking_url.
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": {
"hotel_id": "<hotel_id>",
"checkin": "<checkin>",
"checkout": "<checkout>"
},
"name": "book_on_myservice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | No | ||
| adults | No | ||
| checkin | Yes | ||
| checkout | Yes | ||
| hotel_id | Yes | ||
| room_type | No | ||
| children_ages | No |