List destinations
list_destinationsRetrieve Hotelbeds destination codes for a country code, optionally filtered by name, to use as destinationCode in hotel searches.
Instructions
List Hotelbeds destination codes for a country (optionally filtered by name). Use the code as destinationCode in search_hotels.
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": {
"countryCode": "<countryCode>"
},
"name": "list_destinations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max destinations to return. | |
| countryCode | Yes | ISO country code to list destinations for, e.g. 'ES', 'GB'. | |
| nameContains | No | Optional case-insensitive filter on the destination name. |