محاسبهٔ سهمالارث — Calculate inheritance shares
calculate_inheritanceCalculate Iranian inheritance shares (سهمالارث) under قانون مدنی arts. 862–949, including حجب نقصانی reduction rules. The jurisprudential edge cases make hand computation unreliable — always use this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| son_count | No | Number of sons. | |
| has_father | No | Father alive? | |
| has_mother | No | Mother alive? | |
| has_spouse | No | Surviving spouse? | |
| sibling_count | No | Deceased's siblings (for حجب نقصانی). | |
| daughter_count | No | Number of daughters. | |
| deceased_gender | Yes | Gender of the deceased. | |
| total_assets_toman | Yes | Total estate value in Toman. |