Find a French department or region
find_locationConvert free-text city, department, or region names into Leboncoin-compatible department numbers and pre-2016 region IDs, accent-insensitive, without contacting Leboncoin.
Instructions
Resolves free text - "Paris", "75", "Rhône", "Bretagne" - to the department numbers and region ids that Leboncoin search filters take. Accent-insensitive. Note that Leboncoin still uses the pre-2016 regions (Aquitaine, Rhône-Alpes, …), not the current thirteen. Purely local, no request to Leboncoin.
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": "find_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | A city name, department name, department number or region name. |