Search Moroccan douars
search_douarsFind douars, the villages and hamlets of Morocco's rural communes as HCP's 2024 census lists them, by name, in Arabic or in Latin letters: تشديرت and Tachdirt both find the douar of Asni. HCP names douars in Arabic only; the Latin name comes from a source where one writes it, and is otherwise spelt from the Arabic, which spelt marks. Returns each douar's code, its 2024 population and its commune; pass the commune's slug to get_douars for the douar's households and distances.
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_douars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many results. 10 when left out, at most 50. | |
| query | Yes | The douar's name, in Arabic or Latin letters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |