tripcom_hotel_detail
Fetch one Trip.com hotel's normalized detail data, including location, rating breakdown, policies, and facilities. Use tripcom_hotels_search to discover a hotel and obtain its identifier.
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": {
"id": "<id>",
"slug": "<slug>"
},
"name": "tripcom_hotel_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trip.com hotel id, from a prior Search call's hotel_id field or the numeric segment of a /hotels/{slug}-hotel-detail-{id}/ URL. | |
| slug | Yes | Optional slug segment for a nicer canonical URL (e.g. the district/city slug from a Search result's url). Not required and not validated by Trip.com. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |