tripadvisor_search
Search TripAdvisor places by keyword or location. Results contain normalized place listings and IDs; use this to discover hotels, attractions, or restaurants before requesting a place detail.
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": {
"geo_id": "<geo_id>",
"type": "<type>"
},
"name": "tripadvisor_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order. Allowed values: POPULARITY (all types), BEST_VALUE (hotels only). Default POPULARITY, or BEST_VALUE for hotels. | |
| type | Yes | Required listing type. Allowed values: hotel, restaurant, attraction, all, plus attraction category types from tripadvisor.enums. | |
| class | No | Optional hotel star class filter. Allowed values: 1, 2, 3, 4, 5. | |
| limit | No | Max number of places to return. | |
| geo_id | Yes | Required. TripAdvisor geo id of the location to list places for, e.g. 294217. | |
| locale | No | Locale code, e.g. en-HK, en-US, en-GB. | |
| offset | No | Result offset for pagination, default 0. | |
| currency | No | Currency code for prices, e.g. HKD, USD, EUR. | |
| amenities | No | Optional repeated hotel amenity ids to filter by, e.g. 9176. | |
| filter_id | No | Optional filter id. Allowed values: class, ufe. | |
| price_max | No | Optional maximum price filter; zero or positive and >= price_min. | |
| price_min | No | Optional minimum price filter; zero or positive. | |
| pricing_mode | No | Optional pricing mode. Allowed values: ALL_IN_RATE. | |
| online_options | No | Optional repeated restaurant online-option ids to filter by, e.g. 20693. | |
| restaurant_date | No | Restaurant availability date in YYYYMMDD or YYYY-MM-DD format. | |
| restaurant_time | No | Restaurant availability time in HHMM or HH:MM 24-hour format. | |
| travelers_choice | No | When true, limit results to Travelers Choice places. | |
| restaurant_guests | No | Restaurant party size; must be between 1 and 20. | |
| establishment_types | No | Optional repeated restaurant establishment-type ids to filter by, e.g. 10591. | |
| travelers_choice_botb | No | When true, limit results to Travelers Choice Best of the Best places. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |