Search Iranian law (دادرس)
search_iranian_lawSearch the text of Iranian statutes and regulations (قوانین و مقررات) published by Dadras — over 95,000 articles of more than 5,900 laws — and get the best-matching articles, each with an excerpt of its text, a note when it is repealed or old, and its dadrasai.com link. Use it for a question about what Iranian law says on a subject — «شرایط فسخ قرارداد اجاره», «مجازات کلاهبرداری» — or to check an article's wording before quoting it. Not for reading one known article in full (get_law_article), finding a law by its name (find_law), a word's meaning (explain_legal_term) or an amount (the calculate_* tools). Covers statutes and regulations only, not court rulings. Candidates are ordered by a legal relevance model; an article named by number and law comes first. Works best in Persian, in the statute's own vocabulary rather than as a story.
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_iranian_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many articles to return (1–8); 5 when not given. | |
| query | Yes | A Persian search phrase of a few words — the legal subject («حضانت فرزند پس از طلاق») or an article («ماده ۱۰ قانون مدنی»); English works less well. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The result, in Persian, as it should be quoted. | |
| links | Yes | The dadrasai.com pages the result cites, in order. |