Summarize observed lodging and meal prices
summarize_costsSummarize observed lodging nightly rates and restaurant meal prices for cities, and — when enough cities are covered — an unweighted median across the covered cities of a country. City distributions are always reported before any country figure, and a country figure never generalises to cities BudgetAtlas has not observed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "summarize_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | No | ||
| adults | No | ||
| cities | No | City IDs such as 'th-bangkok'. Call get_dataset_coverage for the covered list. | |
| nights | No | Restrict lodging to this stay-length cohort. | |
| category | No | both | |
| countries | No | ISO 3166-1 alpha-2 country codes, e.g. ['TH','VN']. | |
| freshness_days | No | Only use observations collected within this many days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| cities | Yes | ||
| request | Yes | ||
| currency | Yes | ||
| countries | Yes | ||
| suggestions | Yes | ||
| no_data_reason | Yes | ||
| unknown_cities | Yes | ||
| excluded_categories | Yes |