Get hotel images
get_hotel_imagesRetrieve hotel image URLs by GIATA-ID with motif codes and preferred width, then filter by property or room scope to choose relevant photos.
Instructions
List image URLs of a hotel (hero image first) with motif type (e.g. A=Exterior, P=Outdoor Pool, R=Restaurant, W=Room Example, S=Beach). Returns one URL per image in the size closest to preferredWidth. Filter by motifTypes or scope (property/rooms).
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": {
"giataId": "<giataId>"
},
"name": "get_hotel_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-50, default 10). | |
| scope | No | Which images: all, property-only or room images. | all |
| offset | No | Number of items to skip (pagination). | |
| giataId | Yes | GIATA-ID of the hotel (numeric), e.g. 1273. | |
| motifTypes | No | Only these motif type codes, e.g. ["P","S"] for pools and beach. | |
| preferredWidth | No | Preferred image width in pixels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| total | Yes | Total number of items available. | |
| images | Yes | ||
| offset | Yes | ||
| giataId | Yes | ||
| nextOffset | No | Pass as `offset` to get the next page. Absent on the last page. | |
| availableMotifTypes | Yes | Motif type code → number of images. |