Find an area
find_areasFind an area from a place as written: region, département, commune, postal code, or a radius around a town ("Lyon", "33", "30 km around Nantes"). Use the "area" field of a result (or of "match" when its status is "resolved") as the area of suggest_categories or as search.area.
Free.
Same call as GET /api/v1/areas of the REST API.
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": {
"q": "<q>"
},
"name": "find_areas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | A place as written: "Lyon", "31000", "Gironde", "within 30 km of Nantes", "the South-West". | |
| level | No | Only this level of area. | |
| limit | No | Areas returned (default 10, at most 20). | |
| country | No | Search this country only (ISO alpha-2, lower case). Default: every open country. | |
| radiusKm | No | A radius around the place, in km (1 to 200). |