Convert date
ti_convert_dateConverts dates between Jalali, Gregorian, and Hijri calendars using time.ir, so you can translate Persian dates accurately across systems.
Instructions
Convert a date between the Jalali (Solar Hijri), Gregorian and Hijri (lunar) calendars, using time.ir's own converter.
Hijri is Iran's official date (may differ by a day from Saudi Arabia's).
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": {
"date": "<date>"
},
"name": "ti_convert_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD, e.g. 1405-08-10 or 2026-11-01. | |
| calendar | No | Calendar of the date(s). | jalali |