Tourist tax
tourist_taxThe tourist tax for one stay, worked out night by night: each tax that applies (regional and city parts separately), the amount or the range when the star rating or type of stay is not given, how many nights are charged, how it is paid, announced changes in force on those nights, and the official source and date for each. Accepts a researched place or any town; towns outside the researched places return researched=false. Percentage taxes need room_price_total. Residents', medical and other special exemptions are listed in rules, not applied.
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": {
"place": "<place>",
"check_in": "<check_in>",
"nights": "<nights>"
},
"name": "tourist_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Area/zone code where a place has zones (e.g. Venice) | |
| town | No | Town or municipality inside a region (e.g. 'Albufeira' in the Algarve) | |
| place | Yes | A researched place ('Lisbon', 'Algarve', 'Paris') or any town ('Quarteira', 'Funchal', 'Kyoto') | |
| rooms | No | Default 1 (for per-room taxes) | |
| adults | No | Default 2 | |
| nights | Yes | Number of nights from check_in (1-60) | |
| check_in | Yes | YYYY-MM-DD | |
| child_ages | No | Age of each child on check-in, one entry per child (many taxes exempt under-12s, -16s or -18s); omit for none | |
| type_of_stay | No | Hotel stars, apartment, holiday rental, etc. | |
| adults_70_plus | No | How many of the adults are 70 or over | |
| local_category | No | The authority's own category label, as returned in options | |
| room_price_total | No | Room price for the whole stay, for percentage taxes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| page | No | ||
| error | No | ||
| taxes | No | ||
| total | No | ||
| researched | No |