List hotels
list_hotelsRetrieve GIATA-IDs for hotels in the Open Content Link catalogue, optionally filtered by country, with pagination for manageable results. Use returned IDs for hotel details or searches.
Instructions
List GIATA-IDs of hotels in the GIATA Open Content Link catalogue, optionally for one country. Returns IDs only (no names) with pagination; use get_hotel for details or search_hotels to filter by name/city/stars. Prefer passing countryCode: the unfiltered catalogue is very large.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-1000, default 100). | |
| offset | No | Number of items to skip (pagination). | |
| countryCode | No | ISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| total | Yes | Total number of items available. | |
| offset | Yes | ||
| giataIds | Yes | ||
| nextOffset | No | Pass as `offset` to get the next page. Absent on the last page. | |
| countryCode | No |