Foreign guest nights per country and year
guest_nights_by_countryForeign guest nights per country and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); country (varchar); nights (bigint).
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": {
"year": "<year>"
},
"name": "guest_nights_by_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year (equals) | |
| limit | No | How many rows to return | |
| cursor | No | next_cursor from the previous result, for the next page | |
| year_gte | No | Year (at least) | |
| year_lte | No | Year (at most) |