محاسبهٔ مهریه به نرخ روز — Calculate mahrieh at today's value
calculate_mahriehCalculate the present-day value of a مهریه: coins at the live market rate, and any cash portion adjusted by the Central Bank index (تبصرهٔ مادهٔ ۱۰۸۲ قانون مدنی). Never guess coin prices or the adjustment index — this tool reads both from the database. If there is a cash portion, ask for marriage_year; without it the cash stays nominal and must not be called «ارزش روز».
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_mahrieh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | No | Number of coins in the مهریه. | |
| coin_type | No | Coin type (default azadi = تمام بهار آزادی). | |
| cash_toman | No | Cash portion in Toman (optional). | |
| marriage_year | No | Jalali marriage year (needed to adjust the cash portion to today's value). |