Get updated hotels
get_updated_hotelsLists hotels changed or deleted after a revision number to sync hotel data incrementally. Start at afterRevision=0, store latestRevision, then pass it to get only later changes.
Instructions
Incremental sync: list hotels changed or deleted after a given revision number. Start with afterRevision=0 to get the current latestRevision, store it, and pass it next time to get only changes.
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": {
"afterRevision": "<afterRevision>"
},
"name": "get_updated_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-1000, default 200). | |
| offset | No | Number of items to skip (pagination). | |
| countryCode | No | ISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES". | |
| afterRevision | Yes | Revision returned as latestRevision by a previous call (0 = from the beginning). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| offset | Yes | ||
| nextOffset | No | ||
| countryCode | No | ||
| deletedTotal | Yes | ||
| updatedTotal | Yes | ||
| afterRevision | Yes | ||
| latestRevision | No | Store this and pass it as `afterRevision` next time. | |
| deletedGiataIds | Yes | ||
| updatedGiataIds | Yes |