List countries and towns
list_areasThe countries Offday covers, a country's towns, or a town's districts, with how many published places each has (largest first; countries by name).
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": "list_areas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | At most 100 | |
| parent | No | Leave out for every country; a country (spain, ES, Spain) for its towns; a town for its districts | |
| language | No | Language of names, text and page links | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | Yes | ||
| page | Yes | ||
| areas | Yes | ||
| parent | No | ||
| attribution | No | Data from Offday (https://places.offday.io), built from OpenStreetMap (ODbL), Wikidata (CC0) and other open sources. Cite each place's url. Photos keep their own licence: credit the author and licence shown with each. |