Search places by name
search_placesFind published places on Offday by name, in any language Wikidata knows them in. Best matches first.
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": {
"query": "<query>"
},
"name": "search_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Only in this country or town: a path (spain/barcelona), ISO code or country name | |
| limit | No | How many places, at most 20 | |
| query | Yes | A place's name or part of it | |
| category | No | Only this kind of place | |
| language | No | Language of names, text and page links | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | Yes | True when there are more matches than returned | |
| places | Yes | ||
| 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. |