Court deadlines (مهلتهای دادرسی)
calculate_court_deadlineCompute the last day to appeal (تجدیدنظرخواهی), seek cassation (فرجامخواهی) or object to a default judgment (واخواهی) in an Iranian civil or criminal case, from the Jalali date the judgment was served, skipping Fridays and official holidays. Use it when the question is until when an objection can be filed; for the articles that set the periods use search_iranian_law. A third-party objection has no fixed deadline and the result explains why. Returns the deadline date, the period applied and its legal basis. Amounts in rial; dates in the Jalali calendar.
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": {
"remedy": "<remedy>"
},
"name": "calculate_court_deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matter | No | Civil or criminal case; civil when not given. Values: civil = حقوقی; criminal = کیفری. | |
| remedy | Yes | The objection to file. Values: appeal = تجدیدنظرخواهی; cassation = فرجامخواهی; objection = واخواهی از رأی غیابی; third_party = اعتراض ثالث. | |
| judgment | No | For appeal or cassation: whether the judgment was given in presence or by default; a default judgment's period runs from the end of the objection period. Values: presence = حضوری; absence = غیابی. | |
| residence | No | Where the objecting party lives; abroad lengthens the period. Inside Iran when not given. Values: inside = مقیم ایران; abroad = مقیم خارج از کشور. | |
| served_day | No | Day of the month it was served. | |
| served_year | No | Jalali year the judgment was served, e.g. 1405. | |
| served_month | No | Jalali month it was served, 1 for فروردین. |
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. |