tripcom_hotels_search
Trip.com hotel search by city: normalized hotel summaries (name, location, star rating, guest rating, review count, image, display price) from a city's Trip.com hotel-list page.
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_slug": "<city_slug>",
"city_id": "<city_id>"
},
"name": "tripcom_hotels_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | Trip.com numeric city id, the trailing number of a /hotels/{city_slug}-hotels-list-{city_id}/ URL, e.g. 359 for Bangkok. | |
| city_slug | Yes | Trip.com city slug, the text segment of a /hotels/{city_slug}-hotels-list-{city_id}/ URL, e.g. bangkok. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |