Search lodging observations
search_lodgingSearch stored lodging price observations for a city, either for exact dates or for a stay length. Returns comparable prices with their original amount and currency, tax status, per-source ratings, evidence-backed amenity signals, provenance, and coverage. These are historical snapshots, not live availability.
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": "<city>"
},
"name": "search_lodging"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City ID, e.g. 'th-bangkok'. | |
| limit | No | ||
| rooms | No | ||
| adults | No | ||
| nights | No | Typical mode: stay length without exact dates. | |
| checkin | No | Exact mode: use with checkout. | |
| sources | No | ||
| checkout | No | ||
| children | No | ||
| freshness_days | No | Only use observations collected within this many days. | |
| property_types | No | ||
| max_nightly_usd | No | ||
| min_review_count | No | ||
| required_signals | No | Evidence-backed amenity signals that must qualify. | |
| max_stay_total_usd | No | ||
| min_rating_fraction | No | Rating threshold as a 0-1 fraction of each source's own scale (0.8 = 8/10 or 4/5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | Yes | ||
| meta | Yes | ||
| mode | Yes | ||
| query | Yes | ||
| results | Yes | ||
| coverage | Yes | ||
| truncated | Yes | ||
| suggestions | Yes | ||
| total_matches | Yes | ||
| no_data_reason | Yes | ||
| tax_comparability | Yes |