Search Moroccan law
search_lawFull-text search over Moroccan legislation articles (and texts by number or title, e.g. "65.99" or "مدونة الشغل"). Returns article snippets with URLs. With lang=fr it also returns other_language: laws that exist only in Arabic and that the query names (by number or by a French name such as "code de la route"); their title is the official Arabic title.
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_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | loi, decret, dahir, dahir-loi, arrete, constitution | |
| lang | No | Language of the text: "ar" (Arabic, most texts) or "fr" (French translation, when published). | ar |
| limit | No | ||
| query | Yes | ||
| category | No | Category slug from list_categories |