Hotel search link (Agoda)
hotel_search_linkBuilds an Agoda hotel search link for a Japanese city with dates, number of adults and rooms pre-filled. The head count is the adults parameter; there is no guests parameter, and unknown parameters are ignored, so a head count passed under another name falls back to 1 adult. Returns a link and a disclaimer only: no rates, no booking.
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": {
"city": "<city>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>"
},
"name": "hotel_search_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Japanese city. For a place that is not listed, use the nearest listed city (e.g. Kawasaki → tokyo or yokohama). | |
| rooms | No | Number of rooms. Default: one room per adult (business travellers rarely share). | |
| adults | No | Number of travellers (adults), 1-10. This is the only head-count parameter: there is no `guests`. | |
| checkIn | Yes | Check-in date, YYYY-MM-DD. | |
| checkOut | Yes | Check-out date, YYYY-MM-DD. | |
| currency | No | Currency shown on Agoda. Default: CNY for zh, USD for en, JPY for ja. | |
| language | No | Language of the reply (and of the partner page for links): zh = Simplified Chinese, en = English, ja = Japanese. Use the user's language. | en |